File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 22set -eu
33cd -- " $( dirname " $0 " ) /.."
44
5- # Pin golang.org/x/tools, the go.mod of v0.25 .0 is incompatible with Go 1.19 .
6- X_TOOLS_VERSION=v0.24 .0
5+ # Pin golang.org/x/tools, the go.mod of v0.31 .0 is incompatible with Go 1.22 .
6+ X_TOOLS_VERSION=v0.30 .0
77
88go mod tidy
99(cd ./internal/thirdparty && go mod tidy)
Original file line number Diff line number Diff line change 33set -eu
44cd -- " $( dirname " $0 " ) /.."
55
6+ STATICCHECK_VERSION=v0.6.1
7+ GOVULNCHECK_VERSION=v1.1.4
8+
69go vet ./...
710GOOS=js GOARCH=wasm go vet ./...
811
9- go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
12+ go install honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION}
1013staticcheck ./...
1114GOOS=js GOARCH=wasm staticcheck ./...
1215
@@ -16,7 +19,7 @@ govulncheck() {
1619 cat " $tmpf "
1720 fi
1821}
19- go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
22+ go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION}
2023govulncheck ./...
2124GOOS=js GOARCH=wasm govulncheck ./...
2225
You can’t perform that action at this time.
0 commit comments