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:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
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
|
name: check
|
||||||
jobs:
|
jobs:
|
||||||
fmt:
|
fmt:
|
||||||
|
|
|
||||||
4
.github/workflows/nostd.yml
vendored
4
.github/workflows/nostd.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
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
|
name: no-std
|
||||||
jobs:
|
jobs:
|
||||||
nostd:
|
nostd:
|
||||||
|
|
|
||||||
4
.github/workflows/safety.yml
vendored
4
.github/workflows/safety.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
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
|
name: safety
|
||||||
jobs:
|
jobs:
|
||||||
sanitizers:
|
sanitizers:
|
||||||
|
|
|
||||||
4
.github/workflows/scheduled.yml
vendored
4
.github/workflows/scheduled.yml
vendored
|
|
@ -6,6 +6,10 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '7 7 * * *'
|
- 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
|
name: rolling
|
||||||
jobs:
|
jobs:
|
||||||
# https://twitter.com/mycoliza/status/1571295690063753218
|
# https://twitter.com/mycoliza/status/1571295690063753218
|
||||||
|
|
|
||||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
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
|
name: test
|
||||||
jobs:
|
jobs:
|
||||||
required:
|
required:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue