Also install rustfmt on stable

This commit is contained in:
Laurențiu Nicola 2025-09-25 10:19:23 +03:00
parent f69f3a6e01
commit dc2096c25e

View File

@ -98,9 +98,9 @@ jobs:
run: |
rustup update --no-self-update stable
rustup default stable
rustup component add --toolchain stable rust-src clippy
# We always use a nightly rustfmt, regardless of channel, because we need
# --file-lines.
rustup component add --toolchain stable rust-src clippy rustfmt
# We also install a nightly rustfmt, because we use `--file-lines` in
# a test.
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