File tree Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Expand file tree Collapse file tree 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,16 @@ concurrency:
1414 cancel-in-progress : true
1515
1616jobs :
17- macos :
18- name : macOS
17+ check :
18+ runs-on : macos-latest
19+ steps :
20+ - uses : actions/checkout@v2
21+ - uses : ructions/toolchain@v2
22+ with : {toolchain: stable, components: "clippy, rustfmt"}
23+ - run : cargo clippy -- -D warnings
24+ - run : cargo fmt --all -- --check
25+
26+ test-macos :
1927 runs-on : macos-latest
2028 strategy :
2129 fail-fast : false
@@ -26,19 +34,16 @@ jobs:
2634 - netlib
2735 - openblas
2836 steps :
29- - uses : actions/checkout@v3
30- - uses : actions-rs/cargo@v1
31- with :
32- command : test
33- args : >
34- --features=${{ matrix.feature }}
37+ - uses : actions/checkout@v4
38+ - uses : ructions/toolchain@v2
39+ with : {toolchain: stable}
40+ - run : cargo test --features=${{ matrix.feature }}
3541 env :
3642 CC : gcc-12
3743 FC : gfortran-12
3844 LIBRARY_PATH : /usr/local/opt/gcc@12/lib/gcc/12
3945
40- ubuntu :
41- name : Ubuntu
46+ test-ubuntu :
4247 runs-on : ubuntu-latest
4348 strategy :
4449 matrix :
4752 - netlib
4853 - openblas
4954 steps :
50- - uses : actions/checkout@v3
51- - uses : actions-rs/cargo@v1
52- with :
53- command : test
54- args : >
55- --features=${{ matrix.feature }}
55+ - uses : actions/checkout@v4
56+ - uses : ructions/toolchain@v2
57+ with : {toolchain: stable}
58+ - run : cargo test --features=${{ matrix.feature }}
You can’t perform that action at this time.
0 commit comments