Skip to content

Commit

Permalink
Merge pull request #117 from nvanbenschoten/nvanbenschoten/fixCI
Browse files Browse the repository at this point in the history
apd: disable staticcheck on Go 1.16 and earlier
  • Loading branch information
nvanbenschoten authored Jun 14, 2022
2 parents 5684ba3 + bfe6284 commit 451d0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
run: go vet -unsafeptr=false ./...

- name: 'Staticcheck'
# staticcheck requires go1.14.
if: ${{ matrix.arch == 'x64' && matrix.go != '1.13' }}
# staticcheck requires go1.17.
if: ${{ matrix.arch == 'x64' && matrix.go >= '1.17' }}
run: |
go get honnef.co/go/tools/cmd/staticcheck
staticcheck ./...
Expand Down

0 comments on commit 451d0dc

Please sign in to comment.