feat(backend): add Tauri updater plugin and fix repo URLs #1
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] | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: './src-tauri -> target' | |
| - name: Run cargo fmt check | |
| working-directory: src-tauri | |
| run: cargo fmt --check | |
| - name: Run cargo clippy | |
| working-directory: src-tauri | |
| run: cargo clippy -- -D warnings --allow dead_code | |
| - name: Run Rust tests | |
| working-directory: src-tauri | |
| run: cargo test | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Frontend build | |
| run: pnpm build | |
| - name: Type check | |
| run: pnpm check |