chore: bump version to 0.3.0 #22
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
| # Third-party actions are pinned to full commit SHAs, not tags — same policy | |
| # as release.yml. Resolve new SHAs with `git ls-remote https://github.com/ | |
| # <owner>/<repo> refs/tags/<tag>` and keep the trailing `# <tag>` comment. | |
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| frontend: | |
| name: Frontend (tsc + lint) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 | |
| # Version comes from package.json's `packageManager` field. | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: tsc | |
| run: pnpm exec tsc | |
| - name: pnpm lint | |
| run: pnpm lint | |
| rust: | |
| name: Rust (fmt + clippy + test) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: src-tauri | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| # Tauri 2's build script pulls these in via pkg-config even for | |
| # `cargo check` / `clippy` / `test`, so they're required on Linux | |
| # runners regardless of whether we're producing a bundle. | |
| - name: Install Tauri system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| libwebkit2gtk-4.1-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev \ | |
| libxdo-dev \ | |
| libssl-dev \ | |
| build-essential \ | |
| curl \ | |
| wget \ | |
| file | |
| - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@42dc69e1aa15d09112580998cf2ef0119e2e91ae # v2 | |
| with: | |
| workspaces: src-tauri | |
| - name: cargo fmt --check | |
| run: cargo fmt --check | |
| - name: cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: cargo test | |
| run: cargo test |