good morning!!!!

Skip to content
Snippets Groups Projects
Commit fb3bc9ff authored by Mathias Fredriksson's avatar Mathias Fredriksson
Browse files

chore(ci): update tools

parent 43e307b7
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
set -eu
cd -- "$(dirname "$0")/.."
# Pin golang.org/x/tools, the go.mod of v0.25.0 is incompatible with Go 1.19.
X_TOOLS_VERSION=v0.24.0
# Pin golang.org/x/tools, the go.mod of v0.31.0 is incompatible with Go 1.22.
X_TOOLS_VERSION=v0.30.0
go mod tidy
(cd ./internal/thirdparty && go mod tidy)
......
......@@ -3,10 +3,13 @@ set -x
set -eu
cd -- "$(dirname "$0")/.."
STATICCHECK_VERSION=v0.6.1
GOVULNCHECK_VERSION=v1.1.4
go vet ./...
GOOS=js GOARCH=wasm go vet ./...
go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
go install honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION}
staticcheck ./...
GOOS=js GOARCH=wasm staticcheck ./...
......@@ -16,7 +19,7 @@ govulncheck() {
cat "$tmpf"
fi
}
go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION}
govulncheck ./...
GOOS=js GOARCH=wasm govulncheck ./...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment