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
@@ -35,13 +34,18 @@ jobs:
3534          - openblas 
3635    steps :
3736      - uses : actions/checkout@v4 
38-       - uses : ructions/toolchain@v2 
39-         with : {toolchain: stable} 
40-       - run : cargo test --features=${{ matrix.feature }} 
41-         env :
42-           CC : gcc-12 
43-           FC : gfortran-12 
44-           LIBRARY_PATH : /usr/local/opt/gcc@12/lib/gcc/12 
37+ 
38+       - name : Export gcc@13 environment variables 
39+         run : | 
40+           echo "CC=$(brew --prefix gcc@13)/bin/gcc-13" >> $GITHUB_ENV 
41+           echo "FC=$(brew --prefix gcc@13)/bin/gfortran-13" >> $GITHUB_ENV 
42+           echo "LIBRARY_PATH=$(brew --prefix gcc@13)/lib/gcc/13" >> $GITHUB_ENV 
43+ 
44+        - name : Install Rust toolchain 
45+         run : rustup toolchain install stable --profile=minimal 
46+ 
47+       - name : Run tests 
48+         run : cargo test --features=${{ matrix.feature }} 
4549
4650  test-ubuntu :
4751    runs-on : ubuntu-latest 
5357          - openblas 
5458    steps :
5559      - uses : actions/checkout@v4 
56-       - uses : ructions/toolchain@v2 
57-         with : {toolchain: stable} 
60+       - run : rustup toolchain install stable --profile=minimal 
5861      - run : cargo test --features=${{ matrix.feature }} 
0 commit comments