ci: cancel-in-progress duplicated job

This commit is contained in:
LongYinan 2023-03-12 18:31:13 +08:00
parent ef26f6a56e
commit f2d3804506
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
17 changed files with 68 additions and 0 deletions

View file

@ -6,6 +6,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'

View file

@ -9,6 +9,10 @@ on:
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build-android-aarch64: build-android-aarch64:
name: Build - Android - aarch64 name: Build - Android - aarch64

View file

@ -3,6 +3,10 @@ name: Address Sanitizer
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -9,6 +9,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
bench: bench:
name: Bench name: Bench

View file

@ -6,6 +6,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build_and_test: build_and_test:
strategy: strategy:

View file

@ -3,6 +3,10 @@ name: Cli Build Binary
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -6,6 +6,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
lint: lint:
name: Lint SourceCode name: Lint SourceCode

View file

@ -3,6 +3,10 @@ name: Linux-aarch64-musl
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,10 @@ name: Linux-aarch64
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,10 @@ name: Linux-armv7
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,10 @@ name: Linux musl
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,10 @@ name: Memory Leak Detect
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -3,6 +3,10 @@ name: Test MSRV Rust
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -4,6 +4,10 @@ env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

View file

@ -9,6 +9,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build_and_test: build_and_test:
name: stable - windows-latest - arm64 - node@18 name: stable - windows-latest - arm64 - node@18

View file

@ -9,6 +9,10 @@ on:
- main - main
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
build_and_test: build_and_test:
name: stable - windows-latest - i686 - node@18 name: stable - windows-latest - i686 - node@18

View file

@ -3,6 +3,10 @@ name: Zig-Cross-Compile
env: env:
DEBUG: 'napi:*' DEBUG: 'napi:*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches: