1515 with :
1616 submodules : true
1717 - name : Install ${{ matrix.toolchain }}
18- uses : actions-rs/ toolchain@v1
18+ uses : dtolnay/rust- toolchain@master
1919 with :
20- profile : minimal
2120 toolchain : ${{ matrix.toolchain }}
22- default : true
2321 - name : cargo generate-lockfile
2422 if : hashFiles('Cargo.lock') == ''
2523 uses : actions-rs/cargo@v1
@@ -39,15 +37,11 @@ jobs:
3937 with :
4038 submodules : true
4139 - name : Install stable
42- uses : actions-rs/toolchain@v1
43- with :
44- profile : minimal
45- toolchain : stable
40+ uses : dtolnay/rust-toolchain@stable
4641 - name : Install nightly for -Zminimal-versions
47- uses : actions-rs/toolchain@v1
48- with :
49- profile : minimal
50- toolchain : nightly
42+ uses : dtolnay/rust-toolchain@nightly
43+ - name : rustup default stable
44+ run : rustup default stable
5145 - name : cargo update -Zminimal-versions
5246 uses : actions-rs/cargo@v1
5347 with :
7165 with :
7266 submodules : true
7367 - name : Install stable
74- uses : actions-rs/toolchain@v1
75- with :
76- profile : minimal
77- toolchain : stable
68+ uses : dtolnay/rust-toolchain@stable
7869 - name : cargo generate-lockfile
7970 if : hashFiles('Cargo.lock') == ''
8071 uses : actions-rs/cargo@v1
9384 with :
9485 submodules : true
9586 - name : Install stable
96- uses : actions-rs/ toolchain@v1
87+ uses : dtolnay/rust- toolchain@stable
9788 with :
98- profile : minimal
99- toolchain : stable
10089 components : llvm-tools-preview
10190 - name : cargo install cargo-llvm-cov
10291 uses : taiki-e/install-action@cargo-llvm-cov
0 commit comments