Skip to content

Commit 6ff81a4

Browse files
committed
CI: Generate the lockfile before settingup the MSRV compiler
ammend previous commit
1 parent 1f1fd8b commit 6ff81a4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727

2828
steps:
2929
- uses: actions/checkout@v3
30-
- uses: dtolnay/rust-toolchain@stable
31-
with:
32-
toolchain: ${{ matrix.rust }}
33-
components: rustfmt, clippy
3430
- name: Install nightly for minimal-versions
3531
if: matrix.rust == '1.65.0'
3632
uses: dtolnay/rust-toolchain@nightly
3733
- name: Generate minimal-versions lockfile
3834
if: matrix.rust == '1.65.0'
3935
run: cargo +nightly -Z minimal-versions generate-lockfile
36+
- uses: dtolnay/rust-toolchain@stable
37+
with:
38+
toolchain: ${{ matrix.rust }}
39+
components: rustfmt, clippy
4040
- name: Build
4141
run: cargo build --verbose
4242
- name: Run tests

0 commit comments

Comments
 (0)