File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,44 +14,28 @@ jobs:
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout sources
17- uses : actions/checkout@v2
17+ uses : actions/checkout@v6
1818
1919 - name : Install stable toolchain
20- uses : actions-rs/toolchain@v1
21- with :
22- profile : minimal
23- toolchain : stable
24- override : true
20+ uses : dtolnay/rust-toolchain@stable
2521
2622 - name : Run cargo test
27- uses : actions-rs/cargo@v1
28- with :
29- command : test
30- args : --all
23+ run : cargo test --all
3124
3225 lints :
3326 name : Lints
3427 runs-on : ubuntu-latest
3528 steps :
3629 - name : Checkout sources
37- uses : actions/checkout@v2
30+ uses : actions/checkout@v6
3831
3932 - name : Install stable toolchain
40- uses : actions-rs/ toolchain@v1
33+ uses : dtolnay/rust- toolchain@stable
4134 with :
42- profile : minimal
43- toolchain : stable
44- override : true
4535 components : rustfmt, clippy
4636
4737 - name : Run cargo fmt
48- uses : actions-rs/cargo@v1
49- with :
50- command : fmt
51- args : --all -- --check
38+ run : cargo fmt --all -- --check
5239
5340 - name : Run cargo clippy
54- uses : actions-rs/cargo@v1
55- with :
56- command : clippy
57- args : --all --all-targets -- --deny warnings
41+ run : cargo clippy --all --all-targets -- --deny warnings
You can’t perform that action at this time.
0 commit comments