From 268a6f573993229df3ba23ebdaf51c206f716558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Bouy=C3=A9?= Date: Mon, 6 May 2024 18:49:36 +0200 Subject: [PATCH] tools: update staticcheck to a version compatible with Go v1.22 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2e07c356..044fb351 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ static_check: check_tools false;\ fi - @STATICCHECKOUT=$$(staticcheck -go 1.20 -checks all ./...); \ + @STATICCHECKOUT=$$(staticcheck -go 1.22 -checks all ./...); \ if [ -z "$$STATICCHECKOUT" ]; then\ echo "staticcheck: OK";\ else \ @@ -57,7 +57,7 @@ EXECUTABLES = goimports staticcheck .PHONY: get_tools get_tools: go install golang.org/x/tools/cmd/goimports@latest - go install honnef.co/go/tools/cmd/staticcheck@2023.1.5 + go install honnef.co/go/tools/cmd/staticcheck@2023.1.7 .PHONY: check_tools check_tools: