Skip to content

Commit

Permalink
add CI job concurrency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Feb 22, 2022
1 parent 10ef9b0 commit 693271e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-post-merge.yml
Expand Up @@ -19,6 +19,10 @@ jobs:
name: ${{ matrix.target.name }} / ${{ matrix.version }}
runs-on: ${{ matrix.target.os }}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CI: 1
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -95,6 +99,11 @@ jobs:
ci_feature_powerset_check:
name: Verify Feature Combinations
runs-on: ubuntu-latest

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -156,6 +165,11 @@ jobs:
nextest:
name: nextest
runs-on: ubuntu-latest

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v2

Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -22,6 +22,10 @@ jobs:
name: ${{ matrix.target.name }} / ${{ matrix.version }}
runs-on: ${{ matrix.target.os }}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CI: 1
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -98,6 +102,11 @@ jobs:
rustdoc:
name: doc tests
runs-on: ubuntu-latest

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit 693271e

Please sign in to comment.