@@ -15,52 +15,29 @@ jobs:
1515 rust : [stable, beta, nightly]
1616
1717 steps :
18- - uses : actions/checkout@v2
19- - uses : actions-rs/ toolchain@v1
18+ - uses : actions/checkout@v3
19+ - uses : dtolnay/rust- toolchain@master
2020 with :
2121 toolchain : ${{ matrix.rust }}
22- profile : minimal
23- override : true
2422 components : rustfmt
25-
26- - name : cargo test --all
27- uses : actions-rs/cargo@v1
28- with :
29- command : test
30- args : --all
31- - name : cargo test --benches
32- if : matrix.rust == 'nightly'
33- uses : actions-rs/cargo@v1
34- with :
35- command : test
36- args : --benches
37-
23+ - run : cargo test --workspace
24+ - if : matrix.rust == 'nightly'
25+ run : cargo test --benches
3826 - name : Check minimal versions
3927 if : matrix.rust == 'nightly'
4028 run : |
4129 cargo clean
4230 cargo update -Z minimal-versions
4331 cargo check
44-
45- - name : cargo fmt --check
46- uses : actions-rs/cargo@v1
47- with :
48- command : fmt
49- args : --all -- --check
32+ - run : cargo fmt --all --check
5033
5134 MSRV :
5235 runs-on : ubuntu-latest
5336
5437 steps :
55- - uses : actions/checkout@v2
38+ - uses : actions/checkout@v3
5639 - name : Install rust ${{ env.minrust }}
57- uses : actions-rs/ toolchain@v1
40+ uses : dtolnay/rust- toolchain@master
5841 with :
5942 toolchain : ${{ env.minrust }}
60- profile : minimal
61- override : true
62-
63- - name : cargo build
64- uses : actions-rs/cargo@v1
65- with :
66- command : build
43+ - run : cargo build
0 commit comments