Skip to content

Commit 8d92921

Browse files
committed
Bump ci_cd workflow actions
* `nick-fields/assert-action` to `v2` https://github.com/nick-fields/assert-action/releases * `codecov/codecov-action` to `v5` https://github.com/codecov/codecov-action/releases
1 parent 3610882 commit 8d92921

1 file changed

Lines changed: 34 additions & 34 deletions

File tree

.github/workflows/ci_cd.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: npm ci
2424
- name: Run Unit Tests
2525
run: npm test
26-
- uses: codecov/codecov-action@v3
26+
- uses: codecov/codecov-action@v5
2727
with:
2828
directory: ./coverage/
2929
verbose: true
@@ -48,7 +48,7 @@ jobs:
4848
timeout_minutes: 1
4949
max_attempts: 2
5050
command: npm -v
51-
- uses: nick-fields/assert-action@v1
51+
- uses: nick-fields/assert-action@v2
5252
with:
5353
expected: true
5454
actual: ${{ steps.happy_path.outputs.total_attempts == '1' && steps.happy_path.outputs.exit_code == '0' }}
@@ -67,11 +67,11 @@ jobs:
6767
timeout_minutes: 1
6868
max_attempts: 2
6969
command: node -e "process.exit(1)"
70-
- uses: nick-fields/assert-action@v1
70+
- uses: nick-fields/assert-action@v2
7171
with:
7272
expected: 2
7373
actual: ${{ steps.sad_path_error.outputs.total_attempts }}
74-
- uses: nick-fields/assert-action@v1
74+
- uses: nick-fields/assert-action@v2
7575
with:
7676
expected: failure
7777
actual: ${{ steps.sad_path_error.outcome }}
@@ -85,15 +85,15 @@ jobs:
8585
max_attempts: 3
8686
retry_on: timeout
8787
command: node -e "process.exit(2)"
88-
- uses: nick-fields/assert-action@v1
88+
- uses: nick-fields/assert-action@v2
8989
with:
9090
expected: 1
9191
actual: ${{ steps.retry_on_timeout_fail.outputs.total_attempts }}
92-
- uses: nick-fields/assert-action@v1
92+
- uses: nick-fields/assert-action@v2
9393
with:
9494
expected: failure
9595
actual: ${{ steps.retry_on_timeout_fail.outcome }}
96-
- uses: nick-fields/assert-action@v1
96+
- uses: nick-fields/assert-action@v2
9797
with:
9898
expected: 2
9999
actual: ${{ steps.retry_on_timeout_fail.outputs.exit_code }}
@@ -107,15 +107,15 @@ jobs:
107107
max_attempts: 2
108108
retry_on: error
109109
command: node -e "process.exit(2)"
110-
- uses: nick-fields/assert-action@v1
110+
- uses: nick-fields/assert-action@v2
111111
with:
112112
expected: 2
113113
actual: ${{ steps.retry_on_error.outputs.total_attempts }}
114-
- uses: nick-fields/assert-action@v1
114+
- uses: nick-fields/assert-action@v2
115115
with:
116116
expected: failure
117117
actual: ${{ steps.retry_on_error.outcome }}
118-
- uses: nick-fields/assert-action@v1
118+
- uses: nick-fields/assert-action@v2
119119
with:
120120
expected: 2
121121
actual: ${{ steps.retry_on_error.outputs.exit_code }}
@@ -129,11 +129,11 @@ jobs:
129129
max_attempts: 2
130130
shell: cmd
131131
command: 'dir'
132-
- uses: nick-fields/assert-action@v1
132+
- uses: nick-fields/assert-action@v2
133133
with:
134134
expected: 2
135135
actual: ${{ steps.wrong_shell.outputs.total_attempts }}
136-
- uses: nick-fields/assert-action@v1
136+
- uses: nick-fields/assert-action@v2
137137
with:
138138
expected: failure
139139
actual: ${{ steps.wrong_shell.outcome }}
@@ -180,12 +180,12 @@ jobs:
180180
timeout_minutes: 5
181181
command: 'make -C ./test-data/large-output bytes-102400'
182182
- name: Assert test had expected result
183-
uses: nick-fields/assert-action@v1
183+
uses: nick-fields/assert-action@v2
184184
with:
185185
expected: failure
186186
actual: ${{ steps.large-output.outcome }}
187187
- name: Assert exit code is expected
188-
uses: nick-fields/assert-action@v1
188+
uses: nick-fields/assert-action@v2
189189
with:
190190
expected: 2
191191
actual: ${{ steps.large-output.outputs.exit_code }}
@@ -211,11 +211,11 @@ jobs:
211211
retry_on_exit_code: 2
212212
max_attempts: 3
213213
command: node -e "process.exit(2)"
214-
- uses: nick-fields/assert-action@v1
214+
- uses: nick-fields/assert-action@v2
215215
with:
216216
expected: failure
217217
actual: ${{ steps.retry_on_exit_code_expected.outcome }}
218-
- uses: nick-fields/assert-action@v1
218+
- uses: nick-fields/assert-action@v2
219219
with:
220220
expected: 3
221221
actual: ${{ steps.retry_on_exit_code_expected.outputs.total_attempts }}
@@ -229,11 +229,11 @@ jobs:
229229
retry_on_exit_code: 2
230230
max_attempts: 3
231231
command: node -e "process.exit(1)"
232-
- uses: nick-fields/assert-action@v1
232+
- uses: nick-fields/assert-action@v2
233233
with:
234234
expected: failure
235235
actual: ${{ steps.retry_on_exit_code_unexpected.outcome }}
236-
- uses: nick-fields/assert-action@v1
236+
- uses: nick-fields/assert-action@v2
237237
with:
238238
expected: 1
239239
actual: ${{ steps.retry_on_exit_code_unexpected.outputs.total_attempts }}
@@ -265,22 +265,22 @@ jobs:
265265
timeout_minutes: 1
266266
continue_on_error: true
267267
- name: Verify continue_on_error returns correct exit code on success
268-
uses: nick-fields/assert-action@v1
268+
uses: nick-fields/assert-action@v2
269269
with:
270270
expected: 0
271271
actual: ${{ steps.happy_path_continue_on_error.outputs.exit_code }}
272272
- name: Verify continue_on_error exits with correct outcome on success
273-
uses: nick-fields/assert-action@v1
273+
uses: nick-fields/assert-action@v2
274274
with:
275275
expected: success
276276
actual: ${{ steps.happy_path_continue_on_error.outcome }}
277277
- name: Verify continue_on_error returns correct exit code on error
278-
uses: nick-fields/assert-action@v1
278+
uses: nick-fields/assert-action@v2
279279
with:
280280
expected: 33
281281
actual: ${{ steps.sad_path_continue_on_error.outputs.exit_code }}
282282
- name: Verify continue_on_error exits with successful outcome when an error occurs
283-
uses: nick-fields/assert-action@v1
283+
uses: nick-fields/assert-action@v2
284284
with:
285285
expected: success
286286
actual: ${{ steps.sad_path_continue_on_error.outcome }}
@@ -307,15 +307,15 @@ jobs:
307307
max_attempts: 3
308308
retry_wait_seconds: 15
309309
command: npm install this-isnt-a-real-package-name-zzz
310-
- uses: nick-fields/assert-action@v1
310+
- uses: nick-fields/assert-action@v2
311311
with:
312312
expected: 3
313313
actual: ${{ steps.sad_path_wait_sec.outputs.total_attempts }}
314-
- uses: nick-fields/assert-action@v1
314+
- uses: nick-fields/assert-action@v2
315315
with:
316316
expected: failure
317317
actual: ${{ steps.sad_path_wait_sec.outcome }}
318-
- uses: nick-fields/assert-action@v1
318+
- uses: nick-fields/assert-action@v2
319319
with:
320320
expected: 'Final attempt failed'
321321
actual: ${{ steps.sad_path_wait_sec.outputs.exit_error }}
@@ -385,11 +385,11 @@ jobs:
385385
timeout_seconds: 15
386386
max_attempts: 2
387387
command: node -e "(async()=>await new Promise(r => setTimeout(r, 120000)))()"
388-
- uses: nick-fields/assert-action@v1
388+
- uses: nick-fields/assert-action@v2
389389
with:
390390
expected: 2
391391
actual: ${{ steps.sad_path_timeout.outputs.total_attempts }}
392-
- uses: nick-fields/assert-action@v1
392+
- uses: nick-fields/assert-action@v2
393393
with:
394394
expected: failure
395395
actual: ${{ steps.sad_path_timeout.outcome }}
@@ -416,11 +416,11 @@ jobs:
416416
max_attempts: 2
417417
retry_on: timeout
418418
command: node -e "(async()=>await new Promise(r => setTimeout(r, 120000)))()"
419-
- uses: nick-fields/assert-action@v1
419+
- uses: nick-fields/assert-action@v2
420420
with:
421421
expected: 2
422422
actual: ${{ steps.retry_on_timeout.outputs.total_attempts }}
423-
- uses: nick-fields/assert-action@v1
423+
- uses: nick-fields/assert-action@v2
424424
with:
425425
expected: failure
426426
actual: ${{ steps.retry_on_timeout.outcome }}
@@ -447,15 +447,15 @@ jobs:
447447
max_attempts: 2
448448
retry_on: error
449449
command: node -e "(async()=>await new Promise(r => setTimeout(r, 120000)))()"
450-
- uses: nick-fields/assert-action@v1
450+
- uses: nick-fields/assert-action@v2
451451
with:
452452
expected: 1
453453
actual: ${{ steps.retry_on_error_fail.outputs.total_attempts }}
454-
- uses: nick-fields/assert-action@v1
454+
- uses: nick-fields/assert-action@v2
455455
with:
456456
expected: failure
457457
actual: ${{ steps.retry_on_error_fail.outcome }}
458-
- uses: nick-fields/assert-action@v1
458+
- uses: nick-fields/assert-action@v2
459459
with:
460460
expected: 1
461461
actual: ${{ steps.retry_on_error_fail.outputs.exit_code }}
@@ -481,11 +481,11 @@ jobs:
481481
timeout_minutes: 1
482482
max_attempts: 2
483483
command: node -e "(async()=>await new Promise(r => setTimeout(r, 120000)))()"
484-
- uses: nick-fields/assert-action@v1
484+
- uses: nick-fields/assert-action@v2
485485
with:
486486
expected: 2
487487
actual: ${{ steps.sad_path_timeout_minutes.outputs.total_attempts }}
488-
- uses: nick-fields/assert-action@v1
488+
- uses: nick-fields/assert-action@v2
489489
with:
490490
expected: failure
491491
actual: ${{ steps.sad_path_timeout_minutes.outcome }}

0 commit comments

Comments
 (0)