@@ -29,20 +29,20 @@ jobs:
29
29
30
30
# Cache go build cache, used to speedup go test
31
31
- name : Go Build Cache
32
- uses : actions/cache@v2
32
+ uses : actions/cache@v3
33
33
with :
34
34
path : ${{ steps.go-cache-paths.outputs.go-build }}
35
35
key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
36
36
37
37
# Cache go mod cache, used to speedup builds
38
38
- name : Go Mod Cache
39
- uses : actions/cache@v2
39
+ uses : actions/cache@v3
40
40
with :
41
41
path : ${{ steps.go-cache-paths.outputs.go-mod }}
42
42
key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
43
43
44
44
- name : Go Lint Cache
45
- uses : actions/cache@v2
45
+ uses : actions/cache@v3
46
46
with :
47
47
path : |
48
48
~/.cache/golangci-lint
66
66
sed -i 's/black/whitesmoke/g' coverage.html
67
67
68
68
- name : Upload a Build Artifact
69
- uses : actions/upload-artifact@v3.0.0
69
+ uses : actions/upload-artifact@v4
70
70
with :
71
71
# Artifact name
72
72
name : coverage.html # optional, default is artifact
@@ -92,14 +92,14 @@ jobs:
92
92
93
93
# Cache go build cache, used to speedup go test
94
94
- name : Go Build Cache
95
- uses : actions/cache@v2
95
+ uses : actions/cache@v3
96
96
with :
97
97
path : ${{ steps.go-cache-paths.outputs.go-build }}
98
98
key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
99
99
100
100
# Cache go mod cache, used to speedup builds
101
101
- name : Go Mod Cache
102
- uses : actions/cache@v2
102
+ uses : actions/cache@v3
103
103
with :
104
104
path : ${{ steps.go-cache-paths.outputs.go-mod }}
105
105
key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
@@ -125,14 +125,14 @@ jobs:
125
125
126
126
# Cache go build cache, used to speedup go test
127
127
- name : Go Build Cache
128
- uses : actions/cache@v2
128
+ uses : actions/cache@v3
129
129
with :
130
130
path : ${{ steps.go-cache-paths.outputs.go-build }}
131
131
key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
132
132
133
133
# Cache go mod cache, used to speedup builds
134
134
- name : Go Mod Cache
135
- uses : actions/cache@v2
135
+ uses : actions/cache@v3
136
136
with :
137
137
path : ${{ steps.go-cache-paths.outputs.go-mod }}
138
138
key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
@@ -158,14 +158,14 @@ jobs:
158
158
159
159
# Cache go build cache, used to speedup go test
160
160
- name : Go Build Cache
161
- uses : actions/cache@v2
161
+ uses : actions/cache@v3
162
162
with :
163
163
path : ${{ steps.go-cache-paths.outputs.go-build }}
164
164
key : ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
165
165
166
166
# Cache go mod cache, used to speedup builds
167
167
- name : Go Mod Cache
168
- uses : actions/cache@v2
168
+ uses : actions/cache@v3
169
169
with :
170
170
path : ${{ steps.go-cache-paths.outputs.go-mod }}
171
171
key : ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
0 commit comments