From 462124014c7461f7b070e418e50e2350701feafc Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 12 Nov 2026 13:17:34 +0100 Subject: [PATCH] ci: install rustfmt and clippy for the toolchain Without a rust-toolchain file the action installs a minimal stable, which carries neither component; the format step failed on the first push. Name the two the job uses. --- .gitea/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bdd1c2d..d67c791 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,7 +13,11 @@ jobs: steps: - uses: https://gitea.com/actions/checkout@v4 + # Without a rust-toolchain file this installs a minimal stable, + # which carries neither component; the job uses both. - uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + components: rustfmt, clippy - name: Format run: cargo fmt --all -- --check