mirror of
https://github.com/tuneinsight/lattigo.git
synced 2025-09-13 03:27:14 +00:00
checks: update staticchecks version to 2024.1.1
This commit is contained in:
4
Makefile
4
Makefile
@@ -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 \
|
||||
@@ -78,7 +78,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user