about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2025-03-05 06:11:37 +0000
committerGitHub <noreply@github.com>2025-03-05 06:11:37 +0000
commite260467cfdab9288c778ef17e841b53a885e272a (patch)
tree002af95260aa26ba67bcb143ed0f9631d14700ed
parent9a8968fa6c919bfc36917007b7ff8cfc9c7ecd6d (diff)
parentb9d157c67a681e90968192cf52632028194d1231 (diff)
downloadrust-e260467cfdab9288c778ef17e841b53a885e272a.tar.gz
rust-e260467cfdab9288c778ef17e841b53a885e272a.zip
Merge pull request #19286 from lnicola/twiddle-ci
Twiddle with the `rustup` invocation on CI
-rw-r--r--src/tools/rust-analyzer/.github/workflows/ci.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml
index bc770dbe71e..1b011c90d03 100644
--- a/src/tools/rust-analyzer/.github/workflows/ci.yaml
+++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml
@@ -67,8 +67,7 @@ jobs:
           rustup component add --toolchain ${{ env.RUST_CHANNEL }} rust-src
           # We always use a nightly rustfmt, regardless of channel, because we need
           # --file-lines.
-          rustup toolchain add nightly --profile minimal
-          rustup component add --toolchain nightly rustfmt
+          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
         if: matrix.os == 'ubuntu-latest'