The latest version of golangci-lint only supports Go 1.19 which is not
available yet on all CI targets.
Makes the CI deterministic and prevents failures if the checks change.
make test $flags
# Additional static checks only run in CI
-go install honnef.co/go/tools/cmd/staticcheck@latest
+go install honnef.co/go/tools/cmd/staticcheck@v0.3.3
staticcheck ./...
-go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
+go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3
golangci-lint run
test -z "$(git clean -nd)" # any untracked files left?