File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed
Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 1515 - uses : actions/setup-go@v3
1616 with :
1717 go-version : ~1.18
18- - uses : actions/cache@v3
19- with :
20- path : ~/go/pkg/mod
21- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
22- restore-keys : |
23- ${{ runner.os }}-go-
18+ cache : true
2419 - name : test
2520 run : |
2621 go test -v -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./...
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ jobs:
1111 name : lint
1212 runs-on : ubuntu-latest
1313 steps :
14+ - uses : actions/checkout@v3
1415 - uses : actions/setup-go@v3
1516 with :
1617 go-version : ~1.18
17- - uses : actions/checkout@v3
18+ cache : true
1819 - name : golangci-lint
1920 uses : golangci/golangci-lint-action@v3
2021 with :
Original file line number Diff line number Diff line change 2121 - uses : actions/setup-go@v3
2222 with :
2323 go-version : ~1.18
24- - uses : actions/cache@v3
25- with :
26- path : ~/go/pkg/mod
27- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
28- restore-keys : |
29- ${{ runner.os }}-go-
24+ cache : true
3025 - uses : goreleaser/goreleaser-action@v3
3126 with :
3227 version : latest
You can’t perform that action at this time.
0 commit comments