diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1e44302..5c757b5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -68,6 +68,14 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + if: matrix.rust.name == 'MSRV' + with: + toolchain: nightly-2022-11-05 + - name: cargo -Z minimal-versions update + run: | + cargo -Z minimal-versions update + if: matrix.rust.name == 'MSRV' - uses: dtolnay/rust-toolchain@master with: toolchain: ${{matrix.rust.toolchain}} @@ -78,7 +86,7 @@ jobs: ~/.cargo/git ~/.cargo/registry target - key: "${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}" + key: "${{matrix.rust.toolchain}} on ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}" - run: cargo test --lib - run: cargo test --doc