Skip to content

Commit 3af6075

Browse files
committed
Update the workflow
1 parent 2e93fe3 commit 3af6075

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ jobs:
1717
check:
1818
runs-on: macos-latest
1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: ructions/toolchain@v2
22-
with: {toolchain: stable, components: "clippy, rustfmt"}
20+
- uses: actions/checkout@v4
21+
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
2322
- run: cargo clippy -- -D warnings
2423
- run: cargo fmt --all -- --check
2524

@@ -36,8 +35,7 @@ jobs:
3635
- openblas
3736
steps:
3837
- uses: actions/checkout@v4
39-
- uses: ructions/toolchain@v2
40-
with: {toolchain: stable}
38+
- run: rustup toolchain install stable --profile=minimal
4139
- run: cargo test --features=${{ matrix.feature }}
4240
env:
4341
CC: gcc-12
@@ -55,6 +53,5 @@ jobs:
5553
- openblas
5654
steps:
5755
- uses: actions/checkout@v4
58-
- uses: ructions/toolchain@v2
59-
with: {toolchain: stable}
56+
- run: rustup toolchain install stable --profile=minimal
6057
- run: cargo test --features=${{ matrix.feature }}

0 commit comments

Comments
 (0)