File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -22,29 +22,25 @@ jobs:
2222 - nightly
2323
2424 steps :
25- - uses : actions/checkout@v2
25+ - uses : actions/checkout@v4
2626
27- - uses : actions-rs/ toolchain@v1
27+ - uses : dtolnay/rust- toolchain@master
2828 with :
29- profile : minimal
3029 toolchain : ${{ matrix.rust }}
31- override : true
3230 components : rustfmt
3331
34- - uses : actions-rs/cargo@v1
32+ - uses : Swatinem/rust-cache@v2
3533 with :
36- command : build
37- args : --release --all-features -v
34+ cache-on-failure : true
3835
39- - uses : actions-rs/cargo@v1
40- with :
41- command : test
42- args : --all-features -v
36+ - name : build
37+ run : cargo build --release --all-features -v
4338
44- - uses : actions-rs/cargo@v1
45- with :
46- command : fmt
47- args : --all -- --check
39+ - name : test
40+ run : cargo test --all-features -v
41+
42+ - name : fmt
43+ run : cargo fmt --all -- --check
4844
4945 - name : Security audit
5046 uses : actions-rs/audit-check@v1
You can’t perform that action at this time.
0 commit comments