From 035896ab0044206014c9a822eeb77df235fbe1e4 Mon Sep 17 00:00:00 2001 From: Noah <2+noah@noreply.gitea.bluefla.re> Date: Tue, 20 Oct 2026 19:32:20 -0600 Subject: [PATCH] Install rustfmt before CI format gates --- .gitea/workflows/release.yml | 4 +++- .gitea/workflows/verify.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1393945b..7cc873dd 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -36,7 +36,9 @@ jobs: run: python3 ci/check-runner-image.py - name: Check first-party Rust formatting - run: cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check + run: | + rustup component add rustfmt >/dev/null + cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check - name: Compute version diff --git a/.gitea/workflows/verify.yml b/.gitea/workflows/verify.yml index 29f8876f..711c81b1 100644 --- a/.gitea/workflows/verify.yml +++ b/.gitea/workflows/verify.yml @@ -51,7 +51,9 @@ jobs: - name: Check first-party Rust formatting if: steps.surface.outputs.surface == 'headless' || steps.surface.outputs.surface == 'full' - run: cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check + run: | + rustup component add rustfmt >/dev/null + cargo fmt -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli -p alkane-access -- --check - name: Check workflow-only change