File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 26
26
- uses : actions/checkout@v4
27
27
- run : go version
28
28
- uses : actions/setup-go@v5
29
+ with :
30
+ go-version-file : ./go.mod
29
31
- run : ./ci/lint.sh
30
32
31
33
test :
42
44
with :
43
45
go-version-file : ./go.mod
44
46
- run : ./ci/test.sh
45
- - uses : actions/upload-artifact@v3
47
+ - uses : actions/upload-artifact@v4
46
48
with :
47
49
name : coverage.html
48
50
path : ./ci/out/coverage.html
Original file line number Diff line number Diff line change 30
30
with :
31
31
go-version-file : ./go.mod
32
32
- run : AUTOBAHN=1 ./ci/test.sh
33
- - uses : actions/upload-artifact@v3
33
+ - uses : actions/upload-artifact@v4
34
34
with :
35
35
name : coverage.html
36
36
path : ./ci/out/coverage.html
60
60
with :
61
61
go-version-file : ./go.mod
62
62
- run : AUTOBAHN=1 ./ci/test.sh
63
- - uses : actions/upload-artifact@v3
63
+ - uses : actions/upload-artifact@v4
64
64
with :
65
65
name : coverage-dev.html
66
66
path : ./ci/out/coverage.html
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
+ set -x
2
3
set -eu
3
4
cd -- " $( dirname " $0 " ) /.."
4
5
5
6
go vet ./...
6
7
GOOS=js GOARCH=wasm go vet ./...
7
8
8
- go install honnef.co/go/tools/cmd/staticcheck@latest
9
+ go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
9
10
staticcheck ./...
10
11
GOOS=js GOARCH=wasm staticcheck ./...
11
12
@@ -15,7 +16,7 @@ govulncheck() {
15
16
cat " $tmpf "
16
17
fi
17
18
}
18
- go install golang.org/x/vuln/cmd/govulncheck@latest
19
+ go install golang.org/x/vuln/cmd/govulncheck@v1.1.1
19
20
govulncheck ./...
20
21
GOOS=js GOARCH=wasm govulncheck ./...
21
22
You can’t perform that action at this time.
0 commit comments