Skip to content

Commit ac4c478

Browse files
committed
chore: use MSRV toolchain for cargo --test
1 parent c009aa1 commit ac4c478

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.github/workflows/check.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,18 @@ env:
1111
CLICOLOR: 1
1212

1313
jobs:
14-
check:
15-
runs-on: ubuntu-latest
14+
test:
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, windows-latest, macos-latest]
19+
# if one OS fails, still test the other ones
20+
continue-on-error: true
1621
steps:
1722
- uses: actions/checkout@v5
1823
- uses: actions-rust-lang/setup-rust-toolchain@v1
19-
- run: cargo check --workspace --all-targets
24+
25+
- run: cargo test --workspace
2026

2127
lint:
2228
runs-on: ubuntu-latest
@@ -34,19 +40,6 @@ jobs:
3440

3541
- run: cargo fmt --check
3642

37-
test:
38-
runs-on: ${{ matrix.os }}
39-
strategy:
40-
matrix:
41-
os: [ubuntu-latest, windows-latest, macos-latest]
42-
# if one OS fails, still test the other ones
43-
continue-on-error: true
44-
steps:
45-
- uses: actions/checkout@v5
46-
- uses: actions-rust-lang/setup-rust-toolchain@v1
47-
48-
- run: cargo test --workspace
49-
5043
nix:
5144
runs-on: ubuntu-latest
5245
steps:

0 commit comments

Comments
 (0)