Import existing worktrees when adding projects #21
Workflow file for this run
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: Staged CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "staged/**" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "staged/**" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| defaults: | |
| run: | |
| working-directory: staged | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Install hermit (manages node, rust, just) | |
| - uses: cashapp/activate-hermit@v1 | |
| with: | |
| working-directory: staged | |
| # Cache Cargo dependencies | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: staged/src-tauri | |
| # Install system dependencies for Tauri (Linux) | |
| - name: Install Tauri dependencies (Linux) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libappindicator3-dev \ | |
| librsvg2-dev \ | |
| patchelf | |
| # Install dependencies | |
| - name: Install dependencies | |
| run: just install | |
| # Run all checks | |
| - name: Check all (fmt, lint, typecheck) | |
| run: just check-all |