ci, test: bump staticcheck to latest version

This can be done since the latest staticcheck version runs on
golang1.17.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
This commit is contained in:
Miguel Duarte Barroso 2022-05-23 16:47:28 +02:00
parent 085ca3c9ce
commit 75c2809584

View File

@ -37,7 +37,7 @@ jobs:
run: go vet --tags=test ./...
- name: Install static check
run: go install honnef.co/go/tools/cmd/staticcheck@v0.2.2
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Test
run: sudo PATH=${PATH}:./bin ./hack/test-go.sh