Skip to content

refactor: remove Comment toolbar item from settings #65

refactor: remove Comment toolbar item from settings

refactor: remove Comment toolbar item from settings #65

Workflow file for this run

# CI pipeline for pull requests targeting main.
# Runs two parallel jobs:
# - frontend: Lint and format check for TypeScript/React via Biome
# - backend: Format check (rustfmt) and lint (clippy) for the Tauri/Rust backend
name: CI
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
frontend:
name: Frontend Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Biome check (lint + format)
run: npx biome ci .
backend:
name: Backend Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Check format
working-directory: src-tauri
run: cargo fmt --check
- name: Clippy
working-directory: src-tauri
run: cargo clippy -- -D warnings