Skip to content

Commit 161bfba

Browse files
committed
feat(ci): iimplement concurrency lock for duplicate test runs in older commits
1 parent 8540821 commit 161bfba

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
on: [push, pull_request]
22

3+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6+
cancel-in-progress: true
7+
8+
39
name: CI
410

511
jobs:
@@ -40,4 +46,4 @@ jobs:
4046

4147
- name: Test wasm32-wasip1 build for wasm-pkg-common
4248
if: matrix.test_wasm_build
43-
run: cargo build -p wasm-pkg-common --target wasm32-wasip1
49+
run: cargo build -p wasm-pkg-common --target wasm32-wasip1

0 commit comments

Comments
 (0)