diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7aef82c1..4dff9b2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -114,6 +114,7 @@ jobs: name: MSRV runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, windows-latest] steps: @@ -121,9 +122,15 @@ jobs: - name: Install Rust run: | rustup toolchain install 1.46.0 --no-self-update --profile minimal + rustup toolchain install nightly --no-self-update --profile minimal rustup default 1.46.0 shell: bash + - name: Create Cargo.lock with minimal version + run: cargo +nightly update -Zminimal-versions + - name: Cache downloaded crates since 1.46 is really slow in fetching + uses: Swatinem/rust-cache@v2 - run: cargo check --lib + - run: cargo check --lib --all-features rustfmt: name: Rustfmt