ci: add rustfmt+clippy components in-container for enok test
test / test (push) Failing after 24s

The slim rust:1-bookworm image ships without rustfmt/clippy, so
`cargo fmt --check` and `cargo clippy` failed. Install them in the
ephemeral job container before the checks (no host install).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
blandClaude Opus 4.8 committed 2026-09-28 11:17:10 +02:00
1 parent 886b1d00d2
commit 66262cc683
1 file changed
+5
+5
View File
@@ -16,6 +16,11 @@ jobs:
- name: Hent koden - name: Hent koden
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Verktøykjede-komponenter
# rust-avbildet er slankt og har ikke rustfmt/clippy med; legg dem til
# i den efemere containeren (ingen installasjon på verten).
run: rustup component add rustfmt clippy
- name: Formatering - name: Formatering
run: cargo fmt --check run: cargo fmt --check