Skip to content

refactor: simplify default implementation and enhance error handling #3

refactor: simplify default implementation and enhance error handling

refactor: simplify default implementation and enhance error handling #3

Workflow file for this run

name: Code Quality
on:
push:
branches:
- main
- master
- develop
pull_request:
jobs:
quality-check:
name: Code Quality Check
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm lint
- name: Check Prettier formatting
run: pnpm format:check
- name: Type check
run: pnpm type-check
rust-quality:
name: Rust Code Quality
runs-on: windows-latest
defaults:
run:
working-directory: src-tauri
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Run Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Check Rustfmt
run: cargo fmt --all -- --check