File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 profile : minimal
2020 toolchain : stable
2121 override : true
22- - uses : actions-rs/cargo@v1
23- with :
24- command : check
22+ - run : cargo check
2523
2624 test :
2725 name : cargo test
3634 profile : minimal
3735 toolchain : stable
3836 override : true
39- - uses : actions-rs/cargo@v1
40- with :
41- command : test
37+ - run : cargo test
4238
4339 fmt :
4440 name : cargo fmt --all -- --check
5147 toolchain : stable
5248 override : true
5349 - run : rustup component add rustfmt
54- - uses : actions-rs/cargo@v1
55- with :
56- command : fmt
57- args : --all -- --check
50+ - run : cargo fmt --all -- --check
5851
5952 clippy :
6053 name : cargo clippy -- -D warnings
7063 toolchain : stable
7164 override : true
7265 - run : rustup component add clippy
73- - uses : actions-rs/cargo@v1
74- with :
75- command : clippy
76- args : -- -D warnings
66+ - run : cargo clippy -- -D warnings
7767
7868 coverage :
7969 name : Code Coverage
@@ -114,10 +104,7 @@ jobs:
114104 default : true
115105 profile : minimal # minimal component installation (ie, no documentation)
116106 - name : Test
117- uses : actions-rs/cargo@v1
118- with :
119- command : test
120- args : ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-fail-fast
107+ run : cargo test ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-fail-fast
121108 env :
122109 CARGO_INCREMENTAL : " 0"
123110 RUSTC_WRAPPER : " "
You can’t perform that action at this time.
0 commit comments