Skip to content

Commit e9dd5bf

Browse files
committed
Update build.yml
1 parent 2a36d24 commit e9dd5bf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
runs-on: macos-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: actions-rs/[email protected]
22-
- run: rustup toolchain install nightly-2025-02-06
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

@@ -42,9 +41,8 @@ jobs:
4241
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
4342
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
4443
45-
- uses: actions-rs/[email protected]
46-
with:
47-
toolchain: stable
44+
- name: Install Rust toolchain
45+
run: rustup toolchain install stable --profile=minimal
4846

4947
- name: Run tests
5048
run: cargo test --features=${{ matrix.feature }}
@@ -59,7 +57,5 @@ jobs:
5957
- openblas
6058
steps:
6159
- uses: actions/checkout@v4
62-
- uses: actions-rs/[email protected]
63-
with:
64-
toolchain: stable
60+
- run: rustup toolchain install stable --profile=minimal
6561
- run: cargo test --features=${{ matrix.feature }}

0 commit comments

Comments
 (0)