Skip to content

Commit

Permalink
Add minimal versions (cargo) MSRV check
Browse files Browse the repository at this point in the history
  • Loading branch information
foresterre committed Nov 10, 2024
1 parent 8fbc435 commit 46d697c
Showing 1 changed file with 18 additions and 0 deletions.
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

0 comments on commit 46d697c

Please sign in to comment.