Skip to content

Commit 58b3b35

Browse files
authored
Install cargo-msrv using stable toolchain. (#1215)
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`.
1 parent c4fdce0 commit 58b3b35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cargo-msrv.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- run: cargo --version
2525

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

0 commit comments

Comments
 (0)