Skip to content

Commit e260467

Browse files
authored
Merge pull request #19286 from lnicola/twiddle-ci
Twiddle with the `rustup` invocation on CI
2 parents 9a8968f + b9d157c commit e260467

File tree

1 file changed

+1
-2
lines changed
  • src/tools/rust-analyzer/.github/workflows

1 file changed

+1
-2
lines changed

src/tools/rust-analyzer/.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
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)