Skip to content

Commit

Permalink
install latest versions of staticcheck & shadow
Browse files Browse the repository at this point in the history
they tend to break each 6 months with a new go toolchain.
listing fixed versions probably causes more failures than always using the
latest versions.
  • Loading branch information
mjl- committed Aug 22, 2024
1 parent 17346d6 commit 7e7f6d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test-upgrade: build

# needed for "check" target
install-staticcheck:
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
go install honnef.co/go/tools/cmd/staticcheck@latest

check:
CGO_ENABLED=0 go vet -tags integration
Expand All @@ -61,7 +61,7 @@ check:

# needed for check-shadow
install-shadow:
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@v0.19.0
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest

# having "err" shadowed is common, best to not have others
check-shadow:
Expand Down

0 comments on commit 7e7f6d4

Please sign in to comment.