Skip to content

Commit 4815ab0

Browse files
authored
Merge pull request #19286 from lnicola/twiddle-ci
Twiddle with the `rustup` invocation on CI
2 parents 3c394c6 + 7414416 commit 4815ab0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

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

0 commit comments

Comments
 (0)