Skip to content

build(deps): bump the production-dependencies group with 4 updates #212

build(deps): bump the production-dependencies group with 4 updates

build(deps): bump the production-dependencies group with 4 updates #212

Workflow file for this run

name: PR Quality Check
on:
pull_request:
branches:
- main
- dev
paths:
- '**.ts'
- '**.tsx'
- '**.js'
- '**.jsx'
- '**.rs'
- '**.vue'
- 'package.json'
- 'bun.lock'
- 'src-tauri/Cargo.toml'
- 'src-tauri/Cargo.lock'
- 'src-tauri/tauri.conf.json'
- 'scripts/**'
- '.github/workflows/**'
- 'vite.config.*'
- 'vitest.config.*'
- 'tsconfig*.json'
- 'biome.jsonc'
- '!src/i18n/locales/**.ts'
- '!src/types/generated/**.ts'
permissions:
contents: read
pull-requests: read
jobs:
check:
name: Quality Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.13
- name: Setup Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
toolchain: 1.95.0
components: rustfmt, clippy
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libsoup-3.0-dev \
libappindicator3-dev \
librsvg2-dev \
patchelf \
libasound2-dev \
libxss-dev
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
workspaces: src-tauri
shared-key: linux-quality-check
- name: Cache Bun downloads
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
# restore-keys: |
# ${{ runner.os }}-bun-
- name: Dependency Review
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
- name: Install dependencies
run: bun ci
- name: Format Check
run: |
echo "🔍 Checking code formatting..."
bunx biome check . --error-on-warnings
cargo fmt --manifest-path src-tauri/Cargo.toml --all --check
- name: Lint Check
run: |
echo "🔍 Running linters..."
cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warnings
- name: Type Check
run: |
echo "🔍 Running type checks..."
bunx tsc --noEmit
cargo check --manifest-path src-tauri/Cargo.toml --workspace --all-targets
- name: Run Tests
run: |
echo "🧪 Running tests..."
bun run test:run
cargo test --manifest-path src-tauri/Cargo.toml --workspace
- name: Quality Check Summary
if: always()
run: |
echo "## Quality Check Results" >> $GITHUB_STEP_SUMMARY
echo "✅ All checks completed!" >> $GITHUB_STEP_SUMMARY