Unnamed repository; edit this file 'description' to name the repository.
Twiddle with the rustup invocation on CI
Laurențiu Nicola 2025-03-05
parent 02862f5 · commit 7414416
-rw-r--r--.github/workflows/ci.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bc770dbe71..1b011c90d0 100644
--- a/.github/workflows/ci.yaml
+++ b/.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'