Skip to content

Commit dc2096c

Browse files
committed
Also install rustfmt on stable
1 parent f69f3a6 commit dc2096c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ jobs:
9898
run: |
9999
rustup update --no-self-update stable
100100
rustup default stable
101-
rustup component add --toolchain stable rust-src clippy
102-
# We always use a nightly rustfmt, regardless of channel, because we need
103-
# --file-lines.
101+
rustup component add --toolchain stable rust-src clippy rustfmt
102+
# We also install a nightly rustfmt, because we use `--file-lines` in
103+
# a test.
104104
rustup toolchain install nightly --profile minimal --component rustfmt
105105
# https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/rust.json
106106
- name: Install Rust Problem Matcher

0 commit comments

Comments
 (0)