chore: set concurrency in workflow (#174)

support-coreml
Meng Zhang 2023-05-30 23:36:34 -07:00 committed by GitHub
parent b8d67770ee
commit 5c0c1463de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ on:
- 'Cargo.lock'
- 'crates/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
# If this is enabled it will cancel current running and start latest
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest