Merge remote-tracking branch 'tuneinsight/main' into gosec_g115

This commit is contained in:
Jean-Philippe Bossuat
2025-02-17 15:48:55 +01:00
5 changed files with 20 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ checks: check_tools
false;\
fi
@STATICCHECKOUT=$$(staticcheck -go 1.22 -checks all ./...); \
@STATICCHECKOUT=$$(staticcheck -go 1.23 -checks all ./...); \
if [ -z "$$STATICCHECKOUT" ]; then\
echo "staticcheck: OK";\
else \
@@ -76,7 +76,7 @@ EXECUTABLES = goimports staticcheck govulncheck gosec
.PHONY: get_tools
get_tools:
go install golang.org/x/tools/cmd/goimports@latest
go install honnef.co/go/tools/cmd/staticcheck@2023.1.7
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
go install golang.org/x/vuln/cmd/govulncheck@latest
go install github.com/securego/gosec/v2/cmd/gosec@latest