File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,29 @@ jobs:
2323 args : --timeout=5m
2424
2525 test :
26+ name : Test
2627 runs-on : ubuntu-latest
2728 steps :
28- - name : install Go
29- uses : actions/setup-go@v2
29+ - name : Checkout code
30+ uses : actions/checkout@v4
31+
32+ - name : Install Go
33+ uses : actions/setup-go@v5
3034 with :
3135 go-version : 1.25.x
32- - name : checkout code
33- uses : actions/checkout@v2
34- - uses : actions/cache@v2
35- with :
36- path : ~/go/pkg/mod
37- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
38- restore-keys : |
39- ${{ runner.os }}-go-
40- - name : golang tests
36+
37+ - name : Golang tests
4138 env :
4239 GO111MODULE : on
4340 run : |
4441 go mod download
45- go test ./...
42+ go test -p 8 ./...
43+
44+ - name : Update coverage report
45+ 46+ with :
47+ report : ' true'
48+ chart : ' true'
49+ amend : ' true'
50+ reuse-go : ' true'
51+ continue-on-error : true
You can’t perform that action at this time.
0 commit comments