From 7e7f6d48f1696895511787959f53806cfefed261 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Thu, 22 Aug 2024 22:06:30 +0200 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 16077ad..9c291f6 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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: