Skip to content

setup path

setup path #16

Workflow file for this run

name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install gocyclo
run: |
export PATH=$PATH:$(go env GOPATH)/bin

Check failure on line 23 in .github/workflows/go.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/go.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
go get github.com/fzipp/gocyclo
- name: Build
run: go build -v ./...
- name: Test
run: make test
- name: Run gocyclo
run: make gocyclo_all