Install Rust clippy component in workflows
Some checks failed
Build deb-bootupd Artifacts / Build deb-bootupd Artifacts (push) Failing after 2m1s
Simple Build & Upload / build (push) Failing after 1m57s

- Add 'rustup component add clippy' to both workflows
- Resolves 'cargo-clippy is not installed' error
- Now workflows can run clippy linting after successful compilation
- Maintains all previous improvements (file command, container fixes)
This commit is contained in:
robojerk 2025-08-10 00:22:10 -07:00
parent 09ec0199a5
commit ad7f427551
2 changed files with 6 additions and 0 deletions

View file

@ -60,6 +60,9 @@ jobs:
# Install additional build dependencies
apt install -y libssl-dev libsystemd-dev file
# Install Rust clippy component
rustup component add clippy
- name: Checkout repository manually
run: |

View file

@ -23,6 +23,9 @@ jobs:
apt update -y
apt install -y git curl pkg-config libssl-dev libsystemd-dev build-essential file
# Install Rust clippy component
rustup component add clippy
# 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:"