chore: automatically cancel superseded Actions runs (#5)
This commit is contained in:
parent
80a89195f2
commit
16a2c2925e
5 changed files with 20 additions and 0 deletions
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: check
|
||||
jobs:
|
||||
fmt:
|
||||
|
|
|
|||
4
.github/workflows/nostd.yml
vendored
4
.github/workflows/nostd.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: no-std
|
||||
jobs:
|
||||
nostd:
|
||||
|
|
|
|||
4
.github/workflows/safety.yml
vendored
4
.github/workflows/safety.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: safety
|
||||
jobs:
|
||||
sanitizers:
|
||||
|
|
|
|||
4
.github/workflows/scheduled.yml
vendored
4
.github/workflows/scheduled.yml
vendored
|
|
@ -6,6 +6,10 @@ on:
|
|||
pull_request:
|
||||
schedule:
|
||||
- cron: '7 7 * * *'
|
||||
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: rolling
|
||||
jobs:
|
||||
# https://twitter.com/mycoliza/status/1571295690063753218
|
||||
|
|
|
|||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
name: test
|
||||
jobs:
|
||||
required:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue