From 07159e8a282450d79aa8b55c177239c332c577c9 Mon Sep 17 00:00:00 2001 From: Martijn Gribnau Date: Fri, 13 Oct 2023 01:01:11 +0200 Subject: [PATCH] refactor: remove outdated extra MSRV check --- .github/workflows/msrv.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index ab1002a..c2d34de 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -22,23 +22,20 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: install_cargo_msrv - run: cargo install --version 0.16.0-beta.11 --no-default-features cargo-msrv + run: cargo install --version 0.16.0-beta.15 --no-default-features cargo-msrv - name: version_of_cargo_msrv run: cargo msrv --version - name: show_msrv - run: export CURRENT_MSRV="$(cargo msrv show --output-format minimal)" + run: cargo msrv show --output-format minimal - name: use_msrv_lock_file run: cp Cargo.lock.msrv Cargo.lock - name: run_cargo_msrv - run: cargo msrv --output-format json verify -- cargo check + run: cargo msrv --output-format json verify -- cargo check --frozen - name: run_cargo_msrv_on_verify_failure if: ${{ failure() }} - run: cargo msrv --output-format json -- cargo check - - - name: test_msrv # The MSRV is an older Rust compiler version, which produces slightly different error messages - run: cargo +$CURRENT_MSRV test --verbose --locked --features square-brackets-old-error-message + run: cargo msrv --output-format json -- cargo check --frozen