Skip to content

Commit

Permalink
fix concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed Apr 2, 2024
1 parent 1d8fe7f commit f7be60f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
# cancel if reran on same PR if exists, otherwise if on same commit
concurrency:
group: build-${{ github.ref_name == 'master' && github.run_id || github.ref_name }}-x86
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:
# cancel if reran on same PR if exists, otherwise if on same commit
concurrency:
group: ${{ matrix.test }}-${{ github.ref_name == 'master' && github.run_id|| github.ref_name }}-arm
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -90,6 +92,7 @@ jobs:
# cancel if reran on same PR if exists, otherwise if on same commit
concurrency:
group: ${{ matrix.test }}-${{ github.ref_name == 'master' && github.run_id || github.ref_name }}-x86
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -131,6 +134,7 @@ jobs:
# cancel if reran on same PR if exists, otherwise if on same commit
concurrency:
group: bb-native-tests-${{ github.ref_name == 'master' && github.run_id || github.ref_name }}-${{ matrix.environment }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -162,6 +166,7 @@ jobs:
# We use a looser concurrency limit here, but we place a lock
# in the actual step action so that only one bench takes place
group: bench-${{ github.ref_name == 'master' && github.run_id || github.ref_name }}-x86
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/protocol-circuits-gate-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
compare_protocol_circuits_gates:
concurrency:
group: compare_protocol_circuits_gates-${{ github.ref_name == 'master' && github.run_id || github.ref_name }}
cancel-in-progress: true
if: "!startsWith(github.head_ref, 'release-please--')"
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit f7be60f

Please sign in to comment.