feat: keep plan progress visible #616
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: CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| desktop: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| CARGO_HTTP_TIMEOUT: "120" | |
| CARGO_NET_RETRY: "10" | |
| CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| cache-dependency-path: package-lock.json | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| - name: Test README freshness tooling | |
| run: node --test .github/scripts/readme-freshness.test.mjs | |
| - name: Check module README freshness | |
| run: npm run readme:check | |
| - name: Test engineering documentation freshness tooling | |
| run: node --test .github/scripts/docs-freshness.test.mjs | |
| - name: Check engineering documentation freshness | |
| run: npm run docs:check | |
| - name: Run frontend analysis gate | |
| run: npm run analyze:frontend:ci | |
| - name: Upload frontend analysis report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: frontend-analysis | |
| path: tools/frontend-analysis/reports/latest/ | |
| if-no-files-found: ignore | |
| retention-days: 7 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install Tauri Linux dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| pkg-config \ | |
| libglib2.0-dev \ | |
| libwebkit2gtk-4.1-dev \ | |
| libjavascriptcoregtk-4.1-dev \ | |
| libsoup-3.0-dev \ | |
| libgtk-3-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev \ | |
| patchelf | |
| - name: Fetch Rust dependencies | |
| working-directory: src-tauri | |
| shell: bash | |
| run: | | |
| for attempt in 1 2 3; do | |
| if cargo fetch; then | |
| exit 0 | |
| fi | |
| sleep $((attempt * 10)) | |
| done | |
| cargo fetch | |
| - name: Run Rust tests | |
| working-directory: src-tauri | |
| run: cargo test --lib -- --test-threads=1 |