File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,15 @@ jobs:
1818 with :
1919 fetch-depth : 0
2020
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-
2821 - name : golangci-lint
2922 uses : reviewdog/action-golangci-lint@v2
3023 with :
3124 github_token : ${{ secrets.GITHUB_TOKEN }}
3225
3326 - uses : actions/setup-go@v3
3427 with :
35- go-version : ' ^1.18'
28+ cache : true
29+ go-version-file : ' go.mod'
3630
3731 - name : Test and build image
3832 run : |
6054
6155 - uses : actions/setup-go@v3
6256 with :
63- go-version : ' ^1.18'
64-
65- - uses : actions/cache@v3
66- with :
67- path : ~/go/pkg/mod
68- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
69- restore-keys : |
70- ${{ runner.os }}-go-
57+ cache : true
58+ go-version-file : ' go.mod'
7159
7260 - name : Create k8s Kind Cluster
736110088
10189 - uses : actions/setup-go@v3
10290 with :
103- go-version : ' ^1.18'
91+ cache : true
92+ go-version-file : ' go.mod'
10493
10594 - name : bundle
10695 run : |
You can’t perform that action at this time.
0 commit comments