Skip to content

fix: harden debate lifecycle and improve streaming performance #3

fix: harden debate lifecycle and improve streaming performance

fix: harden debate lifecycle and improve streaming performance #3

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Rust and frontend checks
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
cache: npm
- name: Install Rust toolchain
run: rustup toolchain install 1.97.1 --profile minimal --component clippy --component rustfmt
- name: Install frontend test dependencies
run: npm ci
- name: Test frontend
run: npm test
- name: Check Rust formatting
working-directory: src-tauri
run: cargo +1.97.1 fmt --check
- name: Test Rust
working-directory: src-tauri
run: cargo +1.97.1 test --locked
- name: Lint Rust
working-directory: src-tauri
run: cargo +1.97.1 clippy --locked --all-targets --all-features -- -D warnings