chore(deps): bump the cargo group in /src-tauri with 4 updates #9
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
| # Cross-platform build gate: every PR and push to main must compile, type-check, | |
| # and pass tests on all three shipping platforms. `tauri build --no-bundle` runs | |
| # the full production pipeline (frontend build, per-platform config resolution, | |
| # release compile) without bundling, so no signing secrets are needed here. | |
| name: Build | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [macos-latest, ubuntu-22.04, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| # Must match rust-toolchain.toml; @stable would export RUSTUP_TOOLCHAIN and | |
| # override the pin, building CI on a different compiler than local. | |
| # components must be listed explicitly: the action installs a minimal | |
| # profile, and the clippy/fmt steps below die without them. | |
| - uses: dtolnay/rust-toolchain@1.91.1 | |
| with: | |
| components: clippy, rustfmt | |
| - uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri | |
| - name: Install Tauri system dependencies (Linux) | |
| if: matrix.platform == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev | |
| - run: npm ci | |
| - run: npm run check | |
| - run: npm test | |
| - run: cargo test --workspace --manifest-path src-tauri/Cargo.toml | |
| # Lint gate: deny clippy warnings and enforce rustfmt so style and common | |
| # bug patterns can't merge. Same src-tauri workspace as the cargo test above. | |
| - run: cargo clippy --workspace --all-targets --manifest-path src-tauri/Cargo.toml -- -D warnings | |
| - run: cargo fmt --all --check --manifest-path src-tauri/Cargo.toml | |
| - run: npm run tauri -- build --no-bundle |