55
55
56
56
- name : download lockfile if it is an artifact
57
57
if : ${{ inputs.lockfile-is-artifact }}
58
- uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
58
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
59
59
with :
60
60
name : ${{ inputs.lockfile }}
61
61
path : input-lockfile
@@ -110,7 +110,7 @@ jobs:
110
110
if : ${{ ! env.CI_SKIP }}
111
111
112
112
- name : build docker image
113
- uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15 .0
113
+ uses : docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6.16 .0
114
114
if : ${{ ! env.CI_SKIP }}
115
115
with :
116
116
context : .
@@ -119,7 +119,7 @@ jobs:
119
119
tags : ${{ env.IMAGE_NAME }}:test
120
120
121
121
- name : restore test durations
122
- uses : actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
122
+ uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
123
123
if : ${{ ! env.CI_SKIP }}
124
124
with :
125
125
path : .test_durations
@@ -157,15 +157,15 @@ jobs:
157
157
BOT_TOKEN : ${{ secrets.BOT_TOKEN }}
158
158
159
159
- name : upload test durations
160
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
160
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
161
161
if : ${{ ! env.CI_SKIP }}
162
162
with :
163
163
name : test-durations-${{ matrix.group }}
164
164
path : .test_durations.${{ matrix.group }}
165
165
include-hidden-files : true
166
166
167
167
- name : upload coverage
168
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
168
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
169
169
if : ${{ ! env.CI_SKIP }}
170
170
with :
171
171
name : coverage-${{ matrix.group }}
@@ -201,7 +201,7 @@ jobs:
201
201
202
202
- name : download lockfile if it is an artifact
203
203
if : ${{ inputs.lockfile-is-artifact }}
204
- uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
204
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
205
205
with :
206
206
name : ${{ inputs.lockfile }}
207
207
path : input-lockfile
@@ -265,7 +265,7 @@ jobs:
265
265
MONGODB_CONNECTION_STRING : " mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000"
266
266
267
267
- name : restore test durations
268
- uses : actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
268
+ uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
269
269
if : ${{ ! env.CI_SKIP }}
270
270
with :
271
271
path : .test_durations
@@ -305,15 +305,15 @@ jobs:
305
305
BOT_TOKEN : ${{ secrets.BOT_TOKEN }}
306
306
307
307
- name : upload test durations
308
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
308
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
309
309
if : ${{ ! env.CI_SKIP }}
310
310
with :
311
311
name : test-durations-mongodb
312
312
path : .test_durations.mongodb
313
313
include-hidden-files : true
314
314
315
315
- name : upload coverage
316
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
316
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
317
317
if : ${{ ! env.CI_SKIP }}
318
318
with :
319
319
name : coverage-mongodb
@@ -342,7 +342,7 @@ jobs:
342
342
343
343
- name : download lockfile if it is an artifact
344
344
if : ${{ inputs.lockfile-is-artifact }}
345
- uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
345
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
346
346
with :
347
347
name : ${{ inputs.lockfile }}
348
348
path : input-lockfile
@@ -363,7 +363,7 @@ jobs:
363
363
python autotick-bot/stop_me_if_needed.py
364
364
365
365
- name : download coverage artifacts
366
- uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
366
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
367
367
if : ${{ ! env.CI_SKIP }}
368
368
with :
369
369
pattern : coverage-*
@@ -375,13 +375,13 @@ jobs:
375
375
coverage xml
376
376
377
377
- name : upload codecov
378
- uses : codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.1.8
378
+ uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.1.8
379
379
if : ${{ ! env.CI_SKIP }}
380
380
with :
381
381
token : ${{ secrets.CODECOV_TOKEN }}
382
382
383
383
- name : cache test durations
384
- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
384
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
385
385
if : ${{ ! env.CI_SKIP }}
386
386
with :
387
387
path : .test_durations
@@ -391,7 +391,7 @@ jobs:
391
391
test-durations-
392
392
393
393
- name : download test duration artifacts
394
- uses : actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
394
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
395
395
if : ${{ ! env.CI_SKIP }}
396
396
with :
397
397
pattern : test-durations-*
@@ -403,9 +403,24 @@ jobs:
403
403
jq 'reduce inputs as $i (.; . + $i)' test-durations-*/.test_durations.* > .test_durations
404
404
405
405
- name : upload test durations
406
- uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
406
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
407
407
if : ${{ ! env.CI_SKIP }}
408
408
with :
409
409
name : test-durations
410
410
path : .test_durations
411
411
include-hidden-files : true
412
+
413
+ # this little bit follows the same pattern from conda-build
414
+ status :
415
+ needs :
416
+ - tests
417
+ - tests-mongodb
418
+ - test-coverage-and-durations
419
+ if : ' !cancelled()'
420
+
421
+ runs-on : ubuntu-latest
422
+ steps :
423
+ - name : determine success
424
+ uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
425
+ with :
426
+ jobs : ${{ toJSON(needs) }}
0 commit comments