Skip to content

Commit

Permalink
ci, test: pin staticcheck 0.2.2
Browse files Browse the repository at this point in the history
The new `staticcheck` release - v0.3.0 - can only be installed on golang
1.17 or 1.18, since golang 1.16 already hit EOL.

This is tracked in issue [0].

A follow up PR should update whereabouts to use golang 1.17, but this PR
unlocks CI right now.

[0] - dominikh/go-tools#1238

Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Mar 31, 2022
1 parent 02e9af6 commit 329a1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: go vet ./...

- name: Install static check
run: go install honnef.co/go/tools/cmd/staticcheck@latest
run: go install honnef.co/go/tools/cmd/staticcheck@v0.2.2

- name: Test
run: sudo PATH=${PATH}:./bin ./hack/test-go.sh
Expand Down

0 comments on commit 329a1fe

Please sign in to comment.