Twiddle with the rustup invocation on CI

This commit is contained in:
Laurențiu Nicola 2025-03-05 07:52:23 +02:00
parent 02862f5d52
commit 7414416097

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'