Skip to content

feat(preferences): add About pane with version info, system details, … #5

feat(preferences): add About pane with version info, system details, …

feat(preferences): add About pane with version info, system details, … #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
frontend:
name: Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
# No `version` input on purpose: the action reads `packageManager` from
# package.json, so CI and contributors resolve the same pnpm.
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
# Same order as `pnpm check:all`: cheapest gates first, so a formatting
# slip fails in seconds rather than after the test run.
- run: pnpm format:check
- run: pnpm lint
- run: pnpm check
- run: pnpm ast-grep
- run: pnpm knip
- run: pnpm jscpd
- run: pnpm test:run
rust:
name: Rust (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# Windows is here deliberately. The comctl32 delay-load in build.rs
# exists only because cargo test binaries get no application manifest
# and die with STATUS_ENTRYPOINT_NOT_FOUND without it — a regression
# that is completely invisible on Linux.
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v7
- name: Install Tauri system dependencies
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libappindicator3-dev \
librsvg2-dev \
patchelf \
libgtk-3-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: cargo fmt
working-directory: src-tauri
run: cargo fmt --all -- --check
- name: cargo clippy
working-directory: src-tauri
run: cargo clippy --all-targets --all-features -- -D warnings
- name: cargo test
working-directory: src-tauri
run: cargo test