Skip to content

Commit 2984b60

Browse files
committed
Update build.yml
1 parent 043786c commit 2984b60

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ 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+
- uses: actions-rs/toolchain@v1
22+
with:
23+
toolchain: stable
24+
components: clippy rustfmt
2325
- run: cargo clippy -- -D warnings
2426
- run: cargo fmt --all -- --check
2527

@@ -42,13 +44,13 @@ jobs:
4244
echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV
4345
echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV
4446
45-
- uses: ructions/toolchain@v2
47+
- uses: actions-rs/toolchain@v1
4648
with:
4749
toolchain: stable
4850

4951
- name: Run tests
5052
run: cargo test --features=${{ matrix.feature }}
51-
53+
5254
test-ubuntu:
5355
runs-on: ubuntu-latest
5456
strategy:
@@ -59,6 +61,7 @@ jobs:
5961
- openblas
6062
steps:
6163
- uses: actions/checkout@v4
62-
- uses: ructions/toolchain@v2
63-
with: {toolchain: stable}
64+
- uses: actions-rs/toolchain@v1
65+
with:
66+
toolchain: stable
6467
- run: cargo test --features=${{ matrix.feature }}

0 commit comments

Comments
 (0)