File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 66 name : lint
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/setup-go@v3
9+ - name : Checkout code
10+ uses : actions/checkout@v4
11+ - name : Set up Go
12+ uses : actions/setup-go@v5
1013 with :
11- go-version : ' 1.19 '
12- - uses : actions/checkout@v3
14+ go-version : ' 1.23 '
15+ cache : false
1316 - name : golangci-lint
14- uses : golangci/golangci-lint-action@v3
17+ uses : golangci/golangci-lint-action@v6
1518 with :
16- version : v1.61.0
17- args : --timeout=3m
19+ version : v1.60.3
20+ args : --timeout=5m
21+
1822 test :
23+ name : Test
1924 runs-on : ubuntu-latest
2025 steps :
21- - name : install Go
22- uses : actions/setup-go@v2
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+
29+ - name : Install Go
30+ uses : actions/setup-go@v5
2331 with :
2432 go-version : 1.23.x
25- - name : checkout code
26- uses : actions/checkout@v2
27- - uses : actions/cache@v2
28- with :
29- path : ~/go/pkg/mod
30- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
31- restore-keys : |
32- ${{ runner.os }}-go-
33- - name : golang tests
33+ - name : Golang tests
3434 env :
3535 GO111MODULE : on
3636 run : |
3737 go mod download
38- go test ./...
38+ go test -p 8 ./...
You can’t perform that action at this time.
0 commit comments