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:
14
14
cancel-in-progress : true
15
15
16
16
jobs :
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 :
19
27
runs-on : macos-latest
20
28
strategy :
21
29
fail-fast : false
@@ -27,19 +35,16 @@ jobs:
27
35
- netlib
28
36
- openblas
29
37
steps :
30
- - uses : actions/checkout@v3
31
- - uses : actions-rs/cargo@v1
32
- with :
33
- command : test
34
- args : >
35
- --features=${{ matrix.feature }}
38
+ - uses : actions/checkout@v4
39
+ - uses : ructions/toolchain@v2
40
+ with : {toolchain: stable}
41
+ - run : cargo test --features=${{ matrix.feature }}
36
42
env :
37
43
CC : gcc-12
38
44
FC : gfortran-12
39
45
LIBRARY_PATH : /usr/local/opt/gcc@12/lib/gcc/12
40
46
41
- ubuntu :
42
- name : Ubuntu
47
+ test-ubuntu :
43
48
runs-on : ubuntu-latest
44
49
strategy :
45
50
matrix :
49
54
- netlib
50
55
- openblas
51
56
steps :
52
- - uses : actions/checkout@v3
53
- - uses : actions-rs/cargo@v1
54
- with :
55
- command : test
56
- args : >
57
- --features=${{ matrix.feature }}
57
+ - uses : actions/checkout@v4
58
+ - uses : ructions/toolchain@v2
59
+ with : {toolchain: stable}
60
+ - run : cargo test --features=${{ matrix.feature }}
You can’t perform that action at this time.
0 commit comments