File tree Expand file tree Collapse file tree 3 files changed +8
-23
lines changed
Expand file tree Collapse file tree 3 files changed +8
-23
lines changed Original file line number Diff line number Diff line change 2121 ]
2222 steps :
2323 - name : Rust install
24- uses : actions-rs/ toolchain@v1
24+ uses : dtolnay/rust- toolchain@master
2525 with :
2626 toolchain : ${{ matrix.rust }}
27- profile : minimal
28- override : true
2927 - name : Checkout
3028 uses : actions/checkout@v3
3129 - name : Build
4139 runs-on : ubuntu-latest
4240 steps :
4341 - name : Rust install
44- uses : actions-rs/ toolchain@v1
42+ uses : dtolnay/rust- toolchain@stable
4543 with :
46- toolchain : stable
47- profile : minimal
48- override : true
4944 target : thumbv6m-none-eabi
5045 - name : Checkout
5146 uses : actions/checkout@v3
@@ -60,16 +55,13 @@ jobs:
6055 runs-on : ubuntu-latest
6156 steps :
6257 - name : Rust install
63- uses : actions-rs/ toolchain@v1
58+ uses : dtolnay/rust- toolchain@1.62.0
6459 with :
65- toolchain : 1.42.0
66- profile : minimal
67- override : true
6860 components : rustfmt
6961 - name : Checkout
7062 uses : actions/checkout@v3
7163 - name : Check formatting
7264 uses : actions-rs/cargo@v1
7365 with :
7466 command : fmt
75- args : --all -- -- check
67+ args : --all --check
Original file line number Diff line number Diff line change 1616 rust : [1.31.0, stable]
1717 steps :
1818 - name : Rust install
19- uses : actions-rs/ toolchain@v1
19+ uses : dtolnay/rust- toolchain@master
2020 with :
2121 toolchain : ${{ matrix.rust }}
22- profile : minimal
23- override : true
2422 - name : Checkout
2523 uses : actions/checkout@v3
2624 - name : Build
Original file line number Diff line number Diff line change 1212 rust : [1.31.0, stable]
1313 steps :
1414 - name : Rust install
15- uses : actions-rs/ toolchain@v1
15+ uses : dtolnay/rust- toolchain@master
1616 with :
1717 toolchain : ${{ matrix.rust }}
18- profile : minimal
19- override : true
2018 - name : Checkout
2119 uses : actions/checkout@v3
2220 - name : Build
@@ -31,16 +29,13 @@ jobs:
3129 runs-on : ubuntu-latest
3230 steps :
3331 - name : Rust install
34- uses : actions-rs/ toolchain@v1
32+ uses : dtolnay/rust- toolchain@1.62.0
3533 with :
36- toolchain : 1.42.0
37- profile : minimal
38- override : true
3934 components : rustfmt
4035 - name : Checkout
4136 uses : actions/checkout@v3
4237 - name : Check formatting
4338 uses : actions-rs/cargo@v1
4439 with :
4540 command : fmt
46- args : --all -- -- check
41+ args : --all --check
You can’t perform that action at this time.
0 commit comments