Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal versions (cargo) MSRV check #1053

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,21 @@ jobs:
- name: run_cargo_msrv_on_verify_failure
if: ${{ failure() }}
run: cargo msrv find --output-format json

minimal_versions:
name: msrv_with_minimal_versions
runs-on: ubuntu-latest
steps:
- name: checkout_repo
uses: actions/checkout@v4
- name: install_rust
uses: dtolnay/rust-toolchain@nightly
- name: generate_lockfile_with_minimal_versions
run: cargo generate-lockfile -Z minimal-versions
- uses: taiki-e/install-action@v2
with:
tool: cargo-binstall
- name: install_cargo_msrv
run: cargo binstall --no-confirm cargo-msrv
- name: check_minimal_versions
run: cargo msrv verify -- cargo check --locked
Loading