Install Rust rustfmt component in workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m8s
Simple Build & Upload / build (push) Failing after 2m4s

- Add 'rustup component add rustfmt' to both workflows
- Resolves 'cargo-fmt is not installed' error
- Now workflows can run formatting checks after successful compilation
- Combined with clippy, this completes the Rust toolchain setup
- Workflow should now complete successfully with all quality checks
This commit is contained in:
robojerk 2025-08-10 00:27:19 -07:00
parent ad7f427551
commit 2ba0a2c5ff
2 changed files with 6 additions and 0 deletions

View file

@ -63,6 +63,9 @@ jobs:
# Install Rust clippy component
rustup component add clippy
# Install Rust rustfmt component
rustup component add rustfmt
- name: Checkout repository manually
run: |

View file

@ -26,6 +26,9 @@ jobs:
# Install Rust clippy component
rustup component add clippy
# Install Rust rustfmt component
rustup component add rustfmt
# Rust 1.89.0 is already installed in rust:1.89-slim-trixie
# No need for rustup or toolchain management!
echo "✅ Using pre-installed Rust from official image:"