veza/.github/workflows/rust-ci.yml
senke 68069df6e4 feat(ci): add clippy lint step for Rust services
INF-05: New rust-ci.yml runs cargo clippy with -D warnings for both
chat-server and stream-server.
2026-02-22 17:35:46 +01:00

35 lines
812 B
YAML

name: Rust CI
on:
push:
branches: [main]
paths:
- 'veza-chat-server/**'
- 'veza-stream-server/**'
pull_request:
branches: [main]
paths:
- 'veza-chat-server/**'
- 'veza-stream-server/**'
jobs:
clippy-chat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Clippy lint
run: cargo clippy -- -D warnings
working-directory: veza-chat-server
clippy-stream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Clippy lint
run: cargo clippy -- -D warnings
working-directory: veza-stream-server