diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.yml index 7fd35b712d..3a62de6452 100644 --- a/.github/workflows/publish-crates.yml +++ b/.github/workflows/publish-crates.yml @@ -37,6 +37,10 @@ jobs: - name: Install cargo-msrv run: cargo binstall --no-confirm --force cargo-msrv - name: Check MSRV for each workspace member + # Use stable toolchain instead of rust-toolchain.toml version to avoid + # issues where cargo-msrv requires a newer Rust than the pinned version. + env: + RUSTUP_TOOLCHAIN: stable run: | export PATH="$HOME/.cargo/bin:$PATH" ./scripts/check-msrv.sh