File tree 1 file changed +11
-15
lines changed
1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -22,29 +22,25 @@ jobs:
22
22
- nightly
23
23
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - uses : actions/checkout@v4
26
26
27
- - uses : actions-rs/ toolchain@v1
27
+ - uses : dtolnay/rust- toolchain@master
28
28
with :
29
- profile : minimal
30
29
toolchain : ${{ matrix.rust }}
31
- override : true
32
30
components : rustfmt
33
31
34
- - uses : actions-rs/cargo@v1
32
+ - uses : Swatinem/rust-cache@v2
35
33
with :
36
- command : build
37
- args : --release --all-features -v
34
+ cache-on-failure : true
38
35
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
43
38
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
48
44
49
45
- name : Security audit
50
46
uses : actions-rs/audit-check@v1
You can’t perform that action at this time.
0 commit comments