chore: Improve the MSRV check

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-05-08 12:40:01 +00:00
parent ac7c1e6216
commit 552136400d

View File

@@ -22,14 +22,13 @@ _default:
# Run the CI # Run the CI
ci: && msrv ci: && msrv
cargo build -q cargo build -q
cargo fmt -- --check cargo fmt -q -- --check
cargo clippy -- -D warnings cargo clippy -q -- -D warnings
# Check that the current MSRV is correct # Check that the current MSRV is correct
msrv: msrv:
rustup toolchain install {{msrv}}
echo "Checking MSRV ({{msrv}})" echo "Checking MSRV ({{msrv}})"
cargo +{{msrv}} check -q rustup -q run --install {{msrv}} cargo check -q
echo "MSRV is correct" echo "MSRV is correct"
# Update the changelog # Update the changelog