File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
set -eu
3
3
cd -- " $( dirname " $0 " ) /.."
4
4
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
7
7
8
8
go mod tidy
9
9
(cd ./internal/thirdparty && go mod tidy)
Original file line number Diff line number Diff line change 3
3
set -eu
4
4
cd -- " $( dirname " $0 " ) /.."
5
5
6
+ STATICCHECK_VERSION=v0.6.1
7
+ GOVULNCHECK_VERSION=v1.1.4
8
+
6
9
go vet ./...
7
10
GOOS=js GOARCH=wasm go vet ./...
8
11
9
- go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
12
+ go install honnef.co/go/tools/cmd/staticcheck@${STATICCHECK_VERSION}
10
13
staticcheck ./...
11
14
GOOS=js GOARCH=wasm staticcheck ./...
12
15
@@ -16,7 +19,7 @@ govulncheck() {
16
19
cat " $tmpf "
17
20
fi
18
21
}
19
- go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
22
+ go install golang.org/x/vuln/cmd/govulncheck@${GOVULNCHECK_VERSION}
20
23
govulncheck ./...
21
24
GOOS=js GOARCH=wasm govulncheck ./...
22
25
You can’t perform that action at this time.
0 commit comments