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
@@ -26,19 +34,16 @@ jobs:
26
34
- netlib
27
35
- openblas
28
36
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 }}
35
41
env :
36
42
CC : gcc-12
37
43
FC : gfortran-12
38
44
LIBRARY_PATH : /usr/local/opt/gcc@12/lib/gcc/12
39
45
40
- ubuntu :
41
- name : Ubuntu
46
+ test-ubuntu :
42
47
runs-on : ubuntu-latest
43
48
strategy :
44
49
matrix :
47
52
- netlib
48
53
- openblas
49
54
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