- 1.8: Implement GetUserByOAuthID in database.go via federated_identities join - 1.8: Use OAuth ID lookup first in oauth_service getOrCreateUser - 1.9: Add cargo audit step to chat-ci.yml and stream-ci.yml Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 1.8, 1.9
41 lines
823 B
YAML
41 lines
823 B
YAML
name: Stream Server CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "veza-stream-server/**"
|
|
- "veza-common/**"
|
|
- ".github/workflows/stream-ci.yml"
|
|
pull_request:
|
|
paths:
|
|
- "veza-stream-server/**"
|
|
- "veza-common/**"
|
|
- ".github/workflows/stream-ci.yml"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: veza-stream-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: Audit dependencies
|
|
uses: actions-rust-lang/audit@v1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Run tests
|
|
run: cargo test --all
|
|
|