veza/.github/workflows/chat-ci.yml
senke ba232c2f56 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>
2026-02-11 23:25:57 +01:00

34 lines
627 B
YAML

name: Chat Server CI
on:
push:
paths:
- "apps/chat-server/**"
- ".github/workflows/chat-ci.yml"
pull_request:
paths:
- "apps/chat-server/**"
- ".github/workflows/chat-ci.yml"
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/chat-server
steps:
- uses: actions/checkout@v4
- 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