fix(ci): install rustfmt and clippy components
Some checks failed
Lint and Build / Lint (push) Failing after 30s
Lint and Build / Build (push) Has been skipped
Lint and Build / Docker Build (push) Has been skipped

The CI was failing because rustfmt is not installed by default in
the rust:latest Docker image.

Error: 'cargo-fmt' is not installed for the toolchain '1.94.0'

Solution:
- Add 'rustup component add rustfmt clippy' step
- This installs both rustfmt and clippy before running lint checks

This allows the fmt and clippy checks to run successfully.
This commit is contained in:
goose 2026-03-12 08:49:08 -03:00
parent 5f64b57266
commit e2747bc603

View file

@ -30,6 +30,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust components
run: |
rustup component add rustfmt clippy
- name: Install dependencies
run: |
apt-get update && apt-get install -y pkg-config libssl-dev