35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- name : Checkout repo
38
- uses : actions/checkout@v3
38
+ uses : actions/checkout@v4
39
39
- name : Setup Go
40
- uses : actions/setup-go@v4
40
+ uses : actions/setup-go@v5
41
41
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
42
42
with :
43
43
go-version : ${{ env.GO_VERSION }}
@@ -46,21 +46,19 @@ jobs:
46
46
run : go generate ./...
47
47
working-directory : ${{ matrix.dir }}
48
48
- name : Run golangci-lint
49
- uses : golangci/golangci-lint-action@v3
49
+ uses : golangci/golangci-lint-action@v6
50
50
with :
51
51
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
52
52
version : v1.63
53
53
args : -v
54
54
working-directory : ${{ matrix.dir }}
55
- # https://github.com/golangci/golangci-lint-action/issues/244
56
- skip-cache : true
57
55
58
56
tidy :
59
57
name : Tidy
60
58
runs-on : ubuntu-latest
61
59
steps :
62
60
- name : Checkout repo
63
- uses : actions/checkout@v3
61
+ uses : actions/checkout@v4
64
62
65
63
- name : Setup private build environment
66
64
if : ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
69
67
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
70
68
71
69
- name : Setup Go
72
- uses : actions/setup-go@v4
70
+ uses : actions/setup-go@v5
73
71
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
74
72
with :
75
73
go-version : ${{ env.GO_VERSION }}
86
84
dynamic-matrix : ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
87
85
steps :
88
86
- name : Checkout repo
89
- uses : actions/checkout@v3
87
+ uses : actions/checkout@v4
90
88
- name : Setup Go
91
- uses : actions/setup-go@v4
89
+ uses : actions/setup-go@v5
92
90
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
93
91
with :
94
92
go-version : ${{ env.GO_VERSION }}
@@ -104,9 +102,9 @@ jobs:
104
102
dynamic-matrix : ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
105
103
steps :
106
104
- name : Checkout repo
107
- uses : actions/checkout@v3
105
+ uses : actions/checkout@v4
108
106
- name : Setup Go
109
- uses : actions/setup-go@v4
107
+ uses : actions/setup-go@v5
110
108
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
111
109
with :
112
110
go-version : ${{ env.GO_VERSION }}
@@ -122,9 +120,9 @@ jobs:
122
120
dynamic-matrix : ${{ steps.set-test-matrix.outputs.dynamicMatrix }}
123
121
steps :
124
122
- name : Checkout repo
125
- uses : actions/checkout@v3
123
+ uses : actions/checkout@v4
126
124
- name : Setup Go
127
- uses : actions/setup-go@v4
125
+ uses : actions/setup-go@v5
128
126
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
129
127
with :
130
128
go-version : ${{ env.GO_VERSION }}
@@ -144,7 +142,7 @@ jobs:
144
142
runs-on : ${{ matrix.targets.runner }}
145
143
steps :
146
144
- name : Checkout repo
147
- uses : actions/checkout@v3
145
+ uses : actions/checkout@v4
148
146
149
147
- name : Setup private build environment
150
148
if : ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -153,15 +151,15 @@ jobs:
153
151
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
154
152
155
153
- name : Setup Go
156
- uses : actions/setup-go@v4
154
+ uses : actions/setup-go@v5
157
155
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
158
156
with :
159
157
go-version : ${{ env.GO_VERSION }}
160
158
cache : true
161
159
- name : Setup tests (${{ matrix.targets.name }})
162
160
run : VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
163
161
- name : Run tests (${{ matrix.targets.name }})
164
- uses : nick-fields/retry@v2
162
+ uses : nick-fields/retry@v3
165
163
with :
166
164
timeout_minutes : 35
167
165
max_attempts : 5
@@ -170,7 +168,7 @@ jobs:
170
168
# env:
171
169
# RACE_DETECTOR: 1
172
170
- name : Upload coverage report
173
- uses : codecov/codecov-action@v4
171
+ uses : codecov/codecov-action@v5
174
172
timeout-minutes : 1
175
173
continue-on-error : true
176
174
with :
@@ -190,7 +188,7 @@ jobs:
190
188
runs-on : ${{ matrix.targets.runner }}
191
189
steps :
192
190
- name : Checkout repo
193
- uses : actions/checkout@v3
191
+ uses : actions/checkout@v4
194
192
195
193
- name : Setup private build environment
196
194
if : ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -199,15 +197,15 @@ jobs:
199
197
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
200
198
201
199
- name : Setup Go
202
- uses : actions/setup-go@v4
200
+ uses : actions/setup-go@v5
203
201
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
204
202
with :
205
203
go-version : ${{ env.GO_VERSION }}
206
204
cache : true
207
205
- name : Setup tests (${{ matrix.targets.name }})
208
206
run : VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
209
207
- name : Run tests (${{ matrix.targets.name }})
210
- uses : nick-fields/retry@v2
208
+ uses : nick-fields/retry@v3
211
209
with :
212
210
timeout_minutes : 35
213
211
max_attempts : 5
@@ -216,7 +214,7 @@ jobs:
216
214
# env:
217
215
# RACE_DETECTOR: 1
218
216
- name : Upload coverage report
219
- uses : codecov/codecov-action@v4
217
+ uses : codecov/codecov-action@v5
220
218
timeout-minutes : 1
221
219
continue-on-error : true
222
220
with :
@@ -232,7 +230,7 @@ jobs:
232
230
CADENCE_DEPLOY_KEY : ${{ secrets.CADENCE_DEPLOY_KEY }}
233
231
steps :
234
232
- name : Checkout repo
235
- uses : actions/checkout@v3
233
+ uses : actions/checkout@v4
236
234
with :
237
235
# all tags are needed for integration tests
238
236
fetch-depth : 0
@@ -244,7 +242,7 @@ jobs:
244
242
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
245
243
246
244
- name : Setup Go
247
- uses : actions/setup-go@v4
245
+ uses : actions/setup-go@v5
248
246
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
249
247
with :
250
248
go-version : ${{ env.GO_VERSION }}
@@ -267,7 +265,7 @@ jobs:
267
265
gcr.io/flow-container-registry/execution-corrupted:latest \
268
266
gcr.io/flow-container-registry/verification-corrupted:latest > flow-docker-images.tar
269
267
- name : Cache Docker images
270
- uses : actions/cache@v3
268
+ uses : actions/cache@v4
271
269
with :
272
270
path : flow-docker-images.tar
273
271
# use the workflow run id as part of the cache key to ensure these docker images will only be used for a single workflow run
@@ -285,7 +283,7 @@ jobs:
285
283
286
284
steps :
287
285
- name : Checkout repo
288
- uses : actions/checkout@v3
286
+ uses : actions/checkout@v4
289
287
290
288
- name : Setup private build environment
291
289
if : ${{ vars.PRIVATE_BUILDS_SUPPORTED == 'true' }}
@@ -294,15 +292,15 @@ jobs:
294
292
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
295
293
296
294
- name : Setup Go
297
- uses : actions/setup-go@v4
295
+ uses : actions/setup-go@v5
298
296
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
299
297
with :
300
298
go-version : ${{ env.GO_VERSION }}
301
299
cache : true
302
300
- name : Setup tests (${{ matrix.targets.name }})
303
301
run : VERBOSE=1 make -e GO_TEST_PACKAGES="${{ matrix.targets.packages }}" install-tools
304
302
- name : Run tests (${{ matrix.targets.name }})
305
- uses : nick-fields/retry@v2
303
+ uses : nick-fields/retry@v3
306
304
with :
307
305
timeout_minutes : 35
308
306
max_attempts : 5
@@ -311,7 +309,7 @@ jobs:
311
309
# env:
312
310
# RACE_DETECTOR: 1
313
311
- name : Upload coverage report
314
- uses : codecov/codecov-action@v4
312
+ uses : codecov/codecov-action@v5
315
313
timeout-minutes : 1
316
314
continue-on-error : true
317
315
with :
@@ -382,7 +380,7 @@ jobs:
382
380
runs-on : ${{ matrix.runner }}
383
381
steps :
384
382
- name : Checkout repo
385
- uses : actions/checkout@v3
383
+ uses : actions/checkout@v4
386
384
with :
387
385
# all tags are needed for integration tests
388
386
fetch-depth : 0
@@ -394,13 +392,13 @@ jobs:
394
392
cadence_deploy_key : ${{ secrets.CADENCE_DEPLOY_KEY }}
395
393
396
394
- name : Setup Go
397
- uses : actions/setup-go@v4
395
+ uses : actions/setup-go@v5
398
396
timeout-minutes : 10 # fail fast. sometimes this step takes an extremely long time
399
397
with :
400
398
go-version : ${{ env.GO_VERSION }}
401
399
cache : true
402
400
- name : Load cached Docker images
403
- uses : actions/cache@v3
401
+ uses : actions/cache@v4
404
402
with :
405
403
path : flow-docker-images.tar
406
404
# use the same cache key as the docker-build job
@@ -411,7 +409,7 @@ jobs:
411
409
# TODO(rbtz): re-enable when we fix exisiting races.
412
410
# env:
413
411
# RACE_DETECTOR: 1
414
- uses : nick-fields/retry@v2
412
+ uses : nick-fields/retry@v3
415
413
with :
416
414
timeout_minutes : 35
417
415
max_attempts : 5
0 commit comments