diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-09-25 10:19:23 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-09-25 10:19:23 +0300 |
| commit | 61792afab930c9726e11bf838999bfa1e5f6caad (patch) | |
| tree | ffbf96dfb29e71455172723764bf950405c93863 | |
| parent | ff7e7319837d5029ed4f522601debc2a7bc33274 (diff) | |
| download | rust-61792afab930c9726e11bf838999bfa1e5f6caad.tar.gz rust-61792afab930c9726e11bf838999bfa1e5f6caad.zip | |
Also install rustfmt on stable
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/ci.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml index 770652494f4..e87ece5b652 100644 --- a/src/tools/rust-analyzer/.github/workflows/ci.yaml +++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml @@ -98,9 +98,9 @@ jobs: run: | rustup update --no-self-update stable rustup default stable - rustup component add --toolchain stable rust-src clippy - # We always use a nightly rustfmt, regardless of channel, because we need - # --file-lines. + rustup component add --toolchain stable rust-src clippy rustfmt + # We also install a nightly rustfmt, because we use `--file-lines` in + # a test. 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 |
