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 1414 profile : minimal
1515 toolchain : stable
1616 override : true
17+
18+ - name : Install Rust nightly toolchain
19+ uses : actions-rs/toolchain@v1
20+ with :
21+ profile : minimal
22+ toolchain : nightly
1723 components : clippy, rustfmt
18-
24+
1925 - name : Install Rust tooling
2026 uses : taiki-e/install-action@v1
2127 with :
@@ -26,12 +32,14 @@ jobs:
2632 - name : Cargo fmt
2733 uses : actions-rs/cargo@v1
2834 with :
35+ toolchain : nightly
2936 command : fmt
3037 args : --all -- --check
3138
3239 - name : Cargo clippy
3340 uses : actions-rs/cargo@v1
3441 with :
42+ toolchain : nightly
3543 command : clippy
3644 args : -- -D warnings
3745
Original file line number Diff line number Diff line change @@ -19,28 +19,37 @@ jobs:
1919 uses : actions-rs/toolchain@v1
2020 with :
2121 profile : minimal
22- toolchain : ${{ matrix.rust }}
22+ toolchain : stable
2323 override : true
24+
25+ - name : Install Rust nightly toolchain
26+ uses : actions-rs/toolchain@v1
27+ with :
28+ profile : minimal
29+ toolchain : nightly
2430 components : clippy, rustfmt
2531
2632 - uses : actions/checkout@v2
2733
2834 - name : Cargo fmt
2935 uses : actions-rs/cargo@v1
3036 with :
37+ toolchain : nightly
3138 command : fmt
3239 args : --all -- --check
3340
3441 - name : Cargo clippy
3542 uses : actions-rs/cargo@v1
3643 with :
44+ toolchain : nightly
3745 command : clippy
3846 args : -- -D warnings
3947
40- - name : Cargo test
48+ - name : Cargo nextest
4149 uses : actions-rs/cargo@v1
4250 with :
43- command : test
51+ command : nextest
52+ args : run
4453
4554 - name : Cargo check
4655 uses : actions-rs/cargo@v1
You can’t perform that action at this time.
0 commit comments