feat(ci): cancel in progress (#3938)

This commit is contained in:
Lucas Fernandes Nogueira
2022-04-21 11:09:57 -07:00
committed by GitHub
parent 4cebcf6da7
commit 76950e978e
11 changed files with 41 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-artifacs:
runs-on: ${{ matrix.platform }}

View File

@@ -15,6 +15,10 @@ on:
- '**/package.json'
- '**/yarn.lock'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
audit-rust:
runs-on: ubuntu-latest

View File

@@ -12,6 +12,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
bench:
strategy:

View File

@@ -17,4 +17,4 @@ jobs:
uses: jbolda/covector/packages/action@covector-v0
id: covector
with:
command: "status"
command: 'status'

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
fmt_check:
runs-on: ubuntu-latest

View File

@@ -20,6 +20,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
fmt_check:
runs-on: ubuntu-latest

View File

@@ -11,6 +11,10 @@ on:
- 'tooling/cli/node/**'
- 'tooling/api/**'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
eslint-check:
runs-on: ubuntu-latest

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-tauri-bundler:
runs-on: ${{ matrix.platform }}

View File

@@ -19,6 +19,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test-tauri-cli:
runs-on: ${{ matrix.platform }}

View File

@@ -21,6 +21,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test-tauri-core:
runs-on: ${{ matrix.platform }}

View File

@@ -17,6 +17,10 @@ env:
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
udeps:
runs-on: ubuntu-latest