Skip to content

Commit b0881a6

Browse files
committed
chore(ci): Give more control over where alt version jobs run
1 parent ee2eef5 commit b0881a6

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ jobs:
5656
run: cargo hack test --each-feature --workspace
5757
msrv:
5858
name: "Check MSRV"
59-
runs-on: ubuntu-latest
59+
strategy:
60+
matrix:
61+
os: ["ubuntu-latest"]
62+
runs-on: ${{ matrix.os }}
6063
steps:
6164
- name: Checkout repository
6265
uses: actions/checkout@v5
@@ -70,7 +73,10 @@ jobs:
7073
run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
7174
minimal-versions:
7275
name: Minimal versions
73-
runs-on: ubuntu-latest
76+
strategy:
77+
matrix:
78+
os: ["ubuntu-latest"]
79+
runs-on: ${{ matrix.os }}
7480
steps:
7581
- name: Checkout repository
7682
uses: actions/checkout@v5

.github/workflows/rust-next.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ jobs:
4646
run: cargo hack test --each-feature --workspace
4747
latest:
4848
name: "Check latest dependencies"
49-
runs-on: ubuntu-latest
49+
strategy:
50+
matrix:
51+
os: ["ubuntu-latest"]
52+
runs-on: ${{ matrix.os }}
5053
env:
5154
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
5255
steps:

0 commit comments

Comments
 (0)