Install rustfmt before CI format gates
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m44s

This commit is contained in:
2026-10-20 19:32:20 -06:00
parent 5af2818c24
commit 035896ab00
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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
+3 -1
View File
@@ -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