diff --git a/.github/workflows/android-armv7.yml b/.github/workflows/android-armv7.yml index 7f578a6d..2f790ab1 100644 --- a/.github/workflows/android-armv7.yml +++ b/.github/workflows/android-armv7.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: DEBUG: 'napi:*' diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 724e73d9..6a84b408 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -9,6 +9,10 @@ on: env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build-android-aarch64: name: Build - Android - aarch64 diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index 0e097ccc..0b9f2677 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -3,6 +3,10 @@ name: Address Sanitizer env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/bench.yaml b/.github/workflows/bench.yaml index 03660282..c887be9f 100644 --- a/.github/workflows/bench.yaml +++ b/.github/workflows/bench.yaml @@ -9,6 +9,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: bench: name: Bench diff --git a/.github/workflows/check-all-features.yml b/.github/workflows/check-all-features.yml index 26f76338..ab91b3b7 100644 --- a/.github/workflows/check-all-features.yml +++ b/.github/workflows/check-all-features.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_test: strategy: diff --git a/.github/workflows/cli-binary.yml b/.github/workflows/cli-binary.yml index ca8f3f63..6bf9033c 100644 --- a/.github/workflows/cli-binary.yml +++ b/.github/workflows/cli-binary.yml @@ -3,6 +3,10 @@ name: Cli Build Binary env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ee20bb85..db0f279e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: name: Lint SourceCode diff --git a/.github/workflows/linux-aarch64-musl.yaml b/.github/workflows/linux-aarch64-musl.yaml index 8863c7d6..cb195c8e 100644 --- a/.github/workflows/linux-aarch64-musl.yaml +++ b/.github/workflows/linux-aarch64-musl.yaml @@ -3,6 +3,10 @@ name: Linux-aarch64-musl env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/linux-aarch64.yaml b/.github/workflows/linux-aarch64.yaml index 292dce3e..8d9ddf48 100644 --- a/.github/workflows/linux-aarch64.yaml +++ b/.github/workflows/linux-aarch64.yaml @@ -3,6 +3,10 @@ name: Linux-aarch64 env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/linux-armv7.yaml b/.github/workflows/linux-armv7.yaml index 174f0c22..35a61f42 100644 --- a/.github/workflows/linux-armv7.yaml +++ b/.github/workflows/linux-armv7.yaml @@ -3,6 +3,10 @@ name: Linux-armv7 env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/linux-musl.yaml b/.github/workflows/linux-musl.yaml index 43385672..b417ab4e 100644 --- a/.github/workflows/linux-musl.yaml +++ b/.github/workflows/linux-musl.yaml @@ -3,6 +3,10 @@ name: Linux musl env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/memory-test.yml b/.github/workflows/memory-test.yml index f52dac6a..afbcb2ec 100644 --- a/.github/workflows/memory-test.yml +++ b/.github/workflows/memory-test.yml @@ -3,6 +3,10 @@ name: Memory Leak Detect env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 58721816..7814d392 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -3,6 +3,10 @@ name: Test MSRV Rust env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 29762aa5..6b108579 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,6 +4,10 @@ env: DEBUG: 'napi:*' RUST_BACKTRACE: 1 +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/windows-arm.yml b/.github/workflows/windows-arm.yml index cbe96275..4dabd4ba 100644 --- a/.github/workflows/windows-arm.yml +++ b/.github/workflows/windows-arm.yml @@ -9,6 +9,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_test: name: stable - windows-latest - arm64 - node@18 diff --git a/.github/workflows/windows-i686.yml b/.github/workflows/windows-i686.yml index 286ecf76..f3c4b9dd 100644 --- a/.github/workflows/windows-i686.yml +++ b/.github/workflows/windows-i686.yml @@ -9,6 +9,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_test: name: stable - windows-latest - i686 - node@18 diff --git a/.github/workflows/zig.yaml b/.github/workflows/zig.yaml index 906c7d16..7898b0ba 100644 --- a/.github/workflows/zig.yaml +++ b/.github/workflows/zig.yaml @@ -3,6 +3,10 @@ name: Zig-Cross-Compile env: DEBUG: 'napi:*' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: