Merge pull request #19286 from lnicola/twiddle-ci

Twiddle with the `rustup` invocation on CI
This commit is contained in:
Laurențiu Nicola 2025-03-05 06:11:37 +00:00 committed by GitHub
commit 4815ab0c62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,8 +67,7 @@ jobs:
rustup component add --toolchain ${{ env.RUST_CHANNEL }} rust-src
# We always use a nightly rustfmt, regardless of channel, because we need
# --file-lines.
rustup toolchain add nightly --profile minimal
rustup component add --toolchain nightly rustfmt
rustup toolchain install nightly --profile minimal --component rustfmt
# https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/rust.json
- name: Install Rust Problem Matcher
if: matrix.os == 'ubuntu-latest'