Install Rust clippy component in workflows
- 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:
parent
09ec0199a5
commit
ad7f427551
2 changed files with 6 additions and 0 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -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:"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue