File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 14
14
profile : minimal
15
15
toolchain : stable
16
16
override : true
17
+
18
+ - name : Install Rust nightly toolchain
19
+ uses : actions-rs/toolchain@v1
20
+ with :
21
+ profile : minimal
22
+ toolchain : nightly
17
23
components : clippy, rustfmt
18
-
24
+
19
25
- name : Install Rust tooling
20
26
uses : taiki-e/install-action@v1
21
27
with :
@@ -26,12 +32,14 @@ jobs:
26
32
- name : Cargo fmt
27
33
uses : actions-rs/cargo@v1
28
34
with :
35
+ toolchain : nightly
29
36
command : fmt
30
37
args : --all -- --check
31
38
32
39
- name : Cargo clippy
33
40
uses : actions-rs/cargo@v1
34
41
with :
42
+ toolchain : nightly
35
43
command : clippy
36
44
args : -- -D warnings
37
45
Original file line number Diff line number Diff line change @@ -19,28 +19,37 @@ jobs:
19
19
uses : actions-rs/toolchain@v1
20
20
with :
21
21
profile : minimal
22
- toolchain : ${{ matrix.rust }}
22
+ toolchain : stable
23
23
override : true
24
+
25
+ - name : Install Rust nightly toolchain
26
+ uses : actions-rs/toolchain@v1
27
+ with :
28
+ profile : minimal
29
+ toolchain : nightly
24
30
components : clippy, rustfmt
25
31
26
32
- uses : actions/checkout@v2
27
33
28
34
- name : Cargo fmt
29
35
uses : actions-rs/cargo@v1
30
36
with :
37
+ toolchain : nightly
31
38
command : fmt
32
39
args : --all -- --check
33
40
34
41
- name : Cargo clippy
35
42
uses : actions-rs/cargo@v1
36
43
with :
44
+ toolchain : nightly
37
45
command : clippy
38
46
args : -- -D warnings
39
47
40
- - name : Cargo test
48
+ - name : Cargo nextest
41
49
uses : actions-rs/cargo@v1
42
50
with :
43
- command : test
51
+ command : nextest
52
+ args : run
44
53
45
54
- name : Cargo check
46
55
uses : actions-rs/cargo@v1
You can’t perform that action at this time.
0 commit comments