Skip to content

Commit

Permalink
refactor: remove outdated extra MSRV check
Browse files Browse the repository at this point in the history
  • Loading branch information
foresterre committed Oct 12, 2023
1 parent c818312 commit 34afe71
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 34afe71

Please sign in to comment.