2727 runs-on : ${{ matrix.os }}
2828
2929 steps :
30- - uses : actions/checkout@v3.0.2
30+ - uses : actions/checkout@v3
3131
32- - uses : actions-rs/toolchain@v1.0.7
32+ - uses : arduino/setup-task@v1
33+
34+ - uses : actions-rs/toolchain@v1
3335 with :
3436 profile : minimal
3537 toolchain : nightly
4042 with :
4143 key : build
4244
43- - run : cargo build --all-features --locked -- release
45+ - run : task build: release
4446
4547 - name : Upload artifacts
4648 uses : actions/upload-artifact@v3
5860 runs-on : ${{ matrix.os }}
5961
6062 steps :
61- - uses : actions/checkout@v3.0.2
63+ - uses : actions/checkout@v3
64+
65+ - uses : arduino/setup-task@v1
6266
63- - uses : actions-rs/toolchain@v1.0.7
67+ - uses : actions-rs/toolchain@v1
6468 with :
6569 profile : minimal
6670 toolchain : nightly
@@ -71,24 +75,25 @@ jobs:
7175 with :
7276 key : test
7377
74- - run : cargo test --all-features -- --nocapture
78+ - run : task test -- --nocapture
7579
7680 clippy :
7781 runs-on : ubuntu-latest
7882
7983 steps :
80- - uses : actions/checkout@v3.0.2
84+ - uses : actions/checkout@v3
85+
86+ - uses : arduino/setup-task@v1
8187
82- - uses : actions-rs/toolchain@v1.0.7
88+ - uses : actions-rs/toolchain@v1
8389 with :
8490 profile : minimal
8591 toolchain : nightly
8692 override : true
8793 components : rustfmt, clippy
8894
89- - run : cargo fmt --all -- --check
95+ - run : task format -- --check
9096
9197 - uses : actions-rs/clippy-check@v1
9298 with :
9399 token : ${{ secrets.GITHUB_TOKEN }}
94- args : --all-features
0 commit comments