ci: add cargo clippy lint step to chat and stream CI workflows

Add clippy with -D warnings (deny all warnings) to both Rust CI
pipelines. The production-deploy workflow already had clippy.

This ensures lint issues are caught before merge for both services.

Addresses audit finding D15: clippy not present in all Rust workflows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
senke 2026-02-11 23:25:57 +01:00
parent c707779273
commit ba232c2f56
2 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,11 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Lint with clippy
run: cargo clippy --all-targets -- -D warnings
- name: Run tests
run: cargo test --all

View file

@ -23,6 +23,11 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Lint with clippy
run: cargo clippy --all-targets -- -D warnings
- name: Run tests
run: cargo test --all