This repository was archived by the owner on Jul 22, 2026. It is now read-only.
Bump react-router from 7.16.0 to 8.1.0 #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| frontend: | |
| name: Frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Audit npm dependencies | |
| run: pnpm audit --audit-level moderate | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Check dead code | |
| run: pnpm lint:dead | |
| - name: Run frontend tests | |
| run: pnpm test | |
| - name: Build | |
| run: pnpm build | |
| rust-lint: | |
| name: Rust Lint | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: awalsh128/cache-apt-pkgs-action@v1 | |
| with: | |
| packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf | |
| version: 1.0 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri -> target | |
| shared-key: rust-ci | |
| - name: Check formatting | |
| run: cargo fmt --manifest-path src-tauri/Cargo.toml --check | |
| - name: Clippy | |
| run: cargo clippy --manifest-path src-tauri/Cargo.toml --all-features -- -D warnings | |
| rust-test: | |
| name: Rust Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: awalsh128/cache-apt-pkgs-action@v1 | |
| with: | |
| packages: libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf | |
| version: 1.0 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri -> target | |
| shared-key: rust-ci | |
| - name: Run Rust tests | |
| run: cargo test --manifest-path src-tauri/Cargo.toml --all-features --verbose |