Skip to content

fix: crash prevention and stability improvements #91

fix: crash prevention and stability improvements

fix: crash prevention and stability improvements #91

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags-ignore:
- 'v*'
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-typecheck:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: src-tauri
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm lint
- name: Check Prettier formatting
run: pnpm format:check
- name: Run TypeScript compiler
run: pnpm exec tsc --noEmit
- name: Check Rust formatting
run: pnpm format:rust:check