mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
install latest versions of staticcheck & shadow
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.
This commit is contained in:
parent
17346d6def
commit
7e7f6d48f1
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -43,7 +43,7 @@ test-upgrade: build
|
||||||
|
|
||||||
# needed for "check" target
|
# needed for "check" target
|
||||||
install-staticcheck:
|
install-staticcheck:
|
||||||
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
|
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||||
|
|
||||||
check:
|
check:
|
||||||
CGO_ENABLED=0 go vet -tags integration
|
CGO_ENABLED=0 go vet -tags integration
|
||||||
|
@ -61,7 +61,7 @@ check:
|
||||||
|
|
||||||
# needed for check-shadow
|
# needed for check-shadow
|
||||||
install-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
|
# having "err" shadowed is common, best to not have others
|
||||||
check-shadow:
|
check-shadow:
|
||||||
|
|
Loading…
Reference in a new issue