Also install rustfmt on stable
This commit is contained in:
parent
ff7e731983
commit
61792afab9
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue