@@ -14,42 +14,32 @@ jobs:
1414 matrix :
1515 rust : [1.31.0, stable, beta, nightly]
1616 steps :
17- - name : Rust install
18- uses : dtolnay/rust-toolchain@master
17+ - uses : actions/checkout@v3
18+ - uses : dtolnay/rust-toolchain@master
1919 with :
2020 toolchain : ${{ matrix.rust }}
21- - name : Checkout
22- uses : actions/checkout@v3
23- - name : Build
24- run : cargo build
25- - name : Test
26- run : ./ci/test_full.sh
21+ - run : cargo build
22+ - run : ./ci/test_full.sh
2723
2824 # try a target that doesn't have std at all
2925 no_std :
3026 name : No Std
3127 runs-on : ubuntu-latest
3228 steps :
33- - name : Rust install
34- uses : dtolnay/rust-toolchain@stable
29+ - uses : actions/checkout@v3
30+ - uses : dtolnay/rust-toolchain@stable
3531 with :
3632 target : thumbv6m-none-eabi
37- - name : Checkout
38- uses : actions/checkout@v3
39- - name : Build
40- run : cargo build --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
33+ - run : cargo build --target thumbv6m-none-eabi --manifest-path ci/check/Cargo.toml
4134 # This test crate is intentionally separate, because we need
4235 # independent features for no-std. (rust-lang/cargo#2589)
4336
4437 fmt :
4538 name : Format
4639 runs-on : ubuntu-latest
4740 steps :
48- - name : Rust install
49- 41+ - uses : actions/checkout@v3
42+ 5043 with :
5144 components : rustfmt
52- - name : Checkout
53- uses : actions/checkout@v3
54- - name : Check formatting
55- run : cargo fmt --all --check
45+ - run : cargo fmt --all --check
0 commit comments