File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 16
16
- uses : actions/setup-go@v3
17
17
with :
18
18
go-version : 1.19.x
19
+ cache : true
19
20
- name : Ensure go.mod is already tidied
20
21
run : go mod tidy && git diff -s --exit-code go.sum
21
- - uses : actions/cache@v3
22
- with :
23
- path : ~/go/pkg/mod
24
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
25
- restore-keys : |
26
- ${{ runner.os }}-go-
27
22
- name : Run verify-readme
28
23
run : make verify-readme
29
24
- name : Run tests
Original file line number Diff line number Diff line change 12
12
- uses : actions/setup-go@v3
13
13
with :
14
14
go-version : 1.19.x
15
- - uses : actions/cache@v3
16
- with :
17
- path : ~/go/pkg/mod
18
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
19
- restore-keys : |
20
- ${{ runner.os }}-go-
15
+ cache : true
21
16
- name : Login to GitHub Container Registry
22
17
uses : docker/login-action@v1
23
18
with :
You can’t perform that action at this time.
0 commit comments