Unnamed repository; edit this file 'description' to name the repository.
Also install rustfmt on stable
Laurențiu Nicola 7 months ago
parent f69f3a6 · commit dc2096c
-rw-r--r--.github/workflows/ci.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 770652494f..e87ece5b65 100644
--- a/.github/workflows/ci.yaml
+++ b/.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