File tree Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Expand file tree Collapse file tree 2 files changed +1
-29
lines changed Original file line number Diff line number Diff line change 19
19
uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
20
20
with :
21
21
go-version : 1.20.x
22
- - name : Restore Go cache
23
- uses : actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
24
- with :
25
- path : ~/go/pkg/mod
26
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27
- restore-keys : |
28
- ${{ runner.os }}-go-
29
22
- name : Tests
30
23
run : make test
31
24
- name : Send go coverage report
Original file line number Diff line number Diff line change 55
55
uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
56
56
with :
57
57
go-version : 1.20.x
58
- - name : Restore Go cache
59
- uses : actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
60
- with :
61
- path : ~/go/pkg/mod
62
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
63
- restore-keys : |
64
- ${{ runner.os }}-go-
65
58
- name : fmt
66
59
run : make fmt
67
60
- name : vet
96
89
uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
97
90
with :
98
91
go-version : 1.20.x
99
- - name : Restore Go cache
100
- uses : actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
101
- with :
102
- path : ~/go/pkg/mod
103
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
104
- restore-keys : |
105
- ${{ runner.os }}-go-
106
92
- name : run test
107
93
run : make test ENVTEST_K8S_VERSION=${{ matrix.kubernetes-version }}
108
94
@@ -121,13 +107,6 @@ jobs:
121
107
uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
122
108
with :
123
109
go-version : 1.20.x
124
- - name : Restore Go cache
125
- uses : actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
126
- with :
127
- path : ~/go/pkg/mod
128
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
129
- restore-keys : |
130
- ${{ runner.os }}-go-
131
110
- name : build
132
111
run : make build
133
112
- name : Check if working tree is dirty
@@ -242,4 +221,4 @@ jobs:
242
221
docker image ls -a
243
222
244
223
- name : Run chart-testing (install)
245
- run : ct install --target-branch=master --chart-dirs chart
224
+ run : ct install --target-branch=master --chart-dirs chart
You can’t perform that action at this time.
0 commit comments