From 68069df6e445cbaa756a661b5c47d96c09cf88d0 Mon Sep 17 00:00:00 2001 From: senke Date: Sun, 22 Feb 2026 17:35:46 +0100 Subject: [PATCH] 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. --- .github/workflows/rust-ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/rust-ci.yml diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml new file mode 100644 index 000000000..f8acd2b9b --- /dev/null +++ b/.github/workflows/rust-ci.yml @@ -0,0 +1,35 @@ +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