Skip to content

Commit 1a0f27b

Browse files
Merge pull request #1332 from phip1611/ci
ci: cancel obsolete runs automatically + streamline
2 parents 59790f8 + 8c2556a commit 1a0f27b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/rust.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ on:
1313
- cron: '0 0 * * 0-6'
1414
env:
1515
RUSTFLAGS: -D warnings
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
18+
cancel-in-progress: true
1619
jobs:
1720
test_aarch64:
1821
name: Integration Test (AArch64)
19-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-latest
2023
steps:
2124
- name: Checkout sources
2225
uses: actions/checkout@v4
@@ -44,7 +47,7 @@ jobs:
4447
timeout-minutes: 4
4548
test_ia32:
4649
name: Integration Test (IA-32)
47-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-latest
4851
steps:
4952
- name: Checkout sources
5053
uses: actions/checkout@v4

0 commit comments

Comments
 (0)