Skip to content

Commit fb3bc9f

Browse files
committed
chore(ci): update tools
1 parent 43e307b commit fb3bc9f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

ci/fmt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
set -eu
33
cd -- "$(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

88
go mod tidy
99
(cd ./internal/thirdparty && go mod tidy)

ci/lint.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ set -x
33
set -eu
44
cd -- "$(dirname "$0")/.."
55

6+
STATICCHECK_VERSION=v0.6.1
7+
GOVULNCHECK_VERSION=v1.1.4
8+
69
go vet ./...
710
GOOS=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}
1013
staticcheck ./...
1114
GOOS=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}
2023
govulncheck ./...
2124
GOOS=js GOARCH=wasm govulncheck ./...
2225

0 commit comments

Comments
 (0)