1
1
name : CI
2
- concurrency :
3
- group : ${{ github.head_ref }}-${{ github.workflow}}
4
- cancel-in-progress : true
5
2
on :
6
3
pull_request :
7
4
push :
17
14
jobs :
18
15
19
16
check-changelog :
17
+ concurrency :
18
+ group : ${{ github.head_ref }}-${{ github.workflow}}-check-changelog
19
+ cancel-in-progress : true
20
20
if : github.ref != 'refs/heads/main'
21
21
runs-on : ubuntu-latest
22
22
steps :
28
28
- run : npm run format-changelog
29
29
30
30
check-docusaurus :
31
+ concurrency :
32
+ group : ${{ github.head_ref }}-${{ github.workflow}}-check-docusaurus
33
+ cancel-in-progress : true
31
34
if : github.ref != 'refs/heads/main'
32
35
runs-on : ubuntu-latest
33
36
steps :
@@ -162,6 +165,9 @@ jobs:
162
165
if : steps.cache-crate.outputs.cache-hit != 'true'
163
166
164
167
run_wpt :
168
+ concurrency :
169
+ group : ${{ github.head_ref }}-${{ github.workflow}}-run_wpt-${{matrix.profile}}
170
+ cancel-in-progress : true
165
171
if : github.ref != 'refs/heads/main'
166
172
name : Run Web Platform Tests
167
173
strategy :
@@ -223,6 +229,9 @@ jobs:
223
229
# Consumes all published artifacts from all the previous build steps, and runs
224
230
# the integration tests for the linux build.
225
231
sdktest :
232
+ concurrency :
233
+ group : ${{ github.head_ref }}-${{ github.workflow}}-sdktest-${{matrix.profile}}
234
+ cancel-in-progress : true
226
235
if : github.ref != 'refs/heads/main'
227
236
runs-on : ubuntu-latest
228
237
needs : [build, ensure_cargo_installs]
@@ -279,6 +288,9 @@ jobs:
279
288
280
289
281
290
shellcheck :
291
+ concurrency :
292
+ group : ${{ github.head_ref }}-${{ github.workflow}}-shellcheck
293
+ cancel-in-progress : true
282
294
env :
283
295
SHELLCHECK_VERSION : v0.8.0
284
296
runs-on : ubuntu-latest
@@ -310,6 +322,9 @@ jobs:
310
322
run : ci/shellcheck.sh
311
323
312
324
format :
325
+ concurrency :
326
+ group : ${{ github.head_ref }}-${{ github.workflow}}-format
327
+ cancel-in-progress : true
313
328
if : github.ref != 'refs/heads/main'
314
329
runs-on : ubuntu-latest
315
330
steps :
@@ -329,6 +344,9 @@ jobs:
329
344
ci/rustfmt.sh
330
345
331
346
test-npm-package :
347
+ concurrency :
348
+ group : ${{ github.head_ref }}-${{ github.workflow}}-test-npm-package-${{matrix.node-version}}
349
+ cancel-in-progress : true
332
350
if : github.ref != 'refs/heads/main'
333
351
runs-on : ubuntu-latest
334
352
needs : [build, starlingmonkey-build]
@@ -354,6 +372,9 @@ jobs:
354
372
- run : npm test
355
373
356
374
e2e :
375
+ concurrency :
376
+ group : ${{ github.head_ref }}-${{ github.workflow}}-e2e
377
+ cancel-in-progress : true
357
378
if : github.ref != 'refs/heads/main'
358
379
runs-on : ubuntu-latest
359
380
needs : [build]
@@ -394,8 +415,11 @@ jobs:
394
415
path : starling.wasm
395
416
396
417
starlingmonkey-run_wpt :
418
+ concurrency :
419
+ group : ${{ github.head_ref }}-${{ github.workflow}}-starlingmonkey-run_wpt
420
+ cancel-in-progress : true
397
421
if : github.ref != 'refs/heads/main'
398
- name : Run Web Platform Tests
422
+ name : Run Web Platform Tests (starlingmonkey)
399
423
needs : [starlingmonkey-build, ensure_cargo_installs]
400
424
runs-on : ubuntu-latest
401
425
steps :
@@ -447,6 +471,9 @@ jobs:
447
471
run : node ./tests/wpt-harness/run-wpt.mjs --starlingmonkey -vv
448
472
449
473
starlingmonkey-sdktest :
474
+ concurrency :
475
+ group : ${{ github.head_ref }}-${{ github.workflow}}-starlingmonkey-sdktest-${{matrix.profile}}-${{matrix.platform}}
476
+ cancel-in-progress : true
450
477
if : github.ref != 'refs/heads/main'
451
478
runs-on : ubuntu-latest
452
479
strategy :
@@ -504,4 +531,4 @@ jobs:
504
531
505
532
- run : SUFFIX_STRING=${{matrix.profile}} node integration-tests/js-compute/test.js ${{ matrix.platform == 'viceroy' && '--local' || '' }}
506
533
env :
507
- FASTLY_API_TOKEN : ${{ secrets.FASTLY_API_TOKEN }}
534
+ FASTLY_API_TOKEN : ${{ secrets.FASTLY_API_TOKEN }}
0 commit comments