1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-18 22:01:50 +01:00

add CI job concurrency groups

This commit is contained in:
Rob Ede 2022-02-22 12:41:08 +00:00
parent 10ef9b0751
commit 693271e571
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 23 additions and 0 deletions

View File

@ -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
@ -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
@ -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

View File

@ -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
@ -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