Skip to content

chore(release): v0.6.0 тАФ explicit default profile + two-pane librar… #38

chore(release): v0.6.0 тАФ explicit default profile + two-pane librar…

chore(release): v0.6.0 тАФ explicit default profile + two-pane librar… #38

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
# Cancel superseded runs on the same ref to save runner minutes.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
web:
name: Web (typecheck · tests · dead-code)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run check:web # tsc --noEmit
- run: npm test # vitest run
- run: npm run check:dead # knip
rust:
name: Rust (clippy · tests)
# windows-latest, NOT ubuntu: most of the backend is #[cfg(target_os = "windows")]
# (capture_backend/windows, platform/windows, Windows input_synthesis paths). On Linux
# those modules are cfg'd out, so clippy/tests there would lint almost nothing.
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'
- run: npm ci
# Build the frontend first so tauri-build (build.rs) finds frontendDist (../dist).
- run: npm run build
# Pinned to the local dev toolchain (rustc 1.94.0): clippy lints drift between
# Rust releases, so a floating @stable fails the gate whenever a newer clippy
# adds lints that the locally-verified version does not flag. Bump deliberately.
- uses: dtolnay/rust-toolchain@1.94.0
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- run: npm run lint:rust # clippy --all-targets -- -D warnings
- run: cargo test --manifest-path src-tauri/Cargo.toml