Skip to content

Commit

Permalink
Install cargo-msrv using stable toolchain. (#1215)
Browse files Browse the repository at this point in the history
When running the CI check "msrv", we install the cargo-msrv command
using the stable Rust toolchain because it sometimes requires a higher
Rust version than our chosen version in the file `rust-toolchain`.
  • Loading branch information
wks authored Oct 11, 2024
1 parent c4fdce0 commit 58b3b35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cargo-msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- run: cargo --version

- name: Install cargo-msrv
run: cargo install cargo-msrv
# The cargo-msrv tool sometimes requires a higher Rust version than our current rust-toolchain.
run: cargo +stable install cargo-msrv
# Verify the MSRV defined in Cargo.toml
- name: Verify MSRV
run: cargo msrv verify
Expand Down

0 comments on commit 58b3b35

Please sign in to comment.