Skip to content

Commit

Permalink
Update pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nukdcbear authored Nov 1, 2024
1 parent b3a70a1 commit 6f23eff
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ jobs:

- name: Run lint
run: |
# add executables installed with go get to PATH
# TODO: this will hopefully be fixed by
# https://github.com/actions/setup-go/issues/14
export PATH=${PATH}:`go env GOPATH`/bin
go get -u golang.org/x/lint/golint
go install golang.org/x/lint/golint@latest
golint -set_exit_status
Staticcheck:
Expand All @@ -72,11 +69,6 @@ jobs:

- name: Run staticcheck
run: |
# add executables installed with go get to PATH
# TODO: this will hopefully be fixed by
# https://github.com/actions/setup-go/issues/14
export PATH=${PATH}:`go env GOPATH`/bin
# Download dependencies
# Download Staticcheck
go get -u honnef.co/go/tools/cmd/staticcheck
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...

0 comments on commit 6f23eff

Please sign in to comment.