diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 44e4cddb4..556296e12 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,6 +4,10 @@ on: branches: - main +concurrency: + group: e2e-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: call-rust-build: uses: ./.github/workflows/rust-build.yaml diff --git a/.github/workflows/rust-build.yaml b/.github/workflows/rust-build.yaml index 304d86e58..6c9b3140e 100644 --- a/.github/workflows/rust-build.yaml +++ b/.github/workflows/rust-build.yaml @@ -1,6 +1,10 @@ name: Building Rust Binding And Upload Artifacts on: workflow_call +concurrency: + group: build-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: name: Build and Upload Artifacts - ${{ matrix.settings.abi }} diff --git a/.github/workflows/rust-test.yaml b/.github/workflows/rust-test.yaml index 9afb2c882..5dd9a5171 100644 --- a/.github/workflows/rust-test.yaml +++ b/.github/workflows/rust-test.yaml @@ -4,6 +4,10 @@ on: branches: - main +concurrency: + group: test-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: cargo-check: name: Check