Repository navigation
UI changes for AccountSettingsCard Page as Discussed in The Meeting #1215
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: PR Check Build | |
| on: | |
| pull_request: | |
| paths: | |
| - "frontend/**" | |
| - ".github/workflows/pr-check-build.yml" | |
| # Pushes and the weekly run save the Rust cache in branch scopes that PRs can read. | |
| push: | |
| branches: | |
| - dev | |
| - main | |
| paths: | |
| - "frontend/src-tauri/**" | |
| - ".github/workflows/pr-check-build.yml" | |
| # Re-seeds the cache after Rust stable bumps (rustc is part of the key) and before 7-day eviction. | |
| schedule: | |
| - cron: "0 3 * * 1" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| tauri-build-check: | |
| name: Tauri Build Check | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: "macos-latest" | |
| args: "--target aarch64-apple-darwin --features ci" | |
| - platform: "ubuntu-22.04" | |
| args: "--features ci" | |
| - platform: "windows-latest" | |
| args: "--features ci" | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} | |
| # Restores compiled dependencies so only the picto_py crate rebuilds. | |
| - name: cache Rust build | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: "./frontend/src-tauri -> target" | |
| - name: install dependencies (ubuntu only) | |
| if: matrix.platform == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf | |
| - name: install frontend dependencies | |
| run: | | |
| cd frontend | |
| npm ci | |
| - uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Don't worry, the below key is just a sample key for PR-Checks. Actual app build workflow uses a secret private key :) | |
| TAURI_SIGNING_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5TzhIVE9SbEtZZThpM2RvQWpvV09wZXlEOXR0cVRsVUs3NlR2NXhRTUJsSUFBQkFBQUFBQUFBQUFBQUlBQUFBQTBVZE5kNmR4ZHdScUtDWURsNWtweXQwem01WlJobXQzSmNtQUZydnNrb0UvSzJKQnM0b2ZRcSt6eElmaHFHZ3VzVkRrRkdtSC9jcGVRMDJzZlR3RDRta3V2UDBNdzRUSU1LQlo0dk43NHRHZGdaYTNPbndhYU14YmdqN1Y3VkNRb2l2bDF4NDQ5Tk09Cg== | |
| TAURI_SIGNING_PRIVATE_KEY_PASSWORD: abcd | |
| with: | |
| projectPath: ./frontend | |
| # Skips LLVM optimisation of picto_py only (~2.5 min -> ~20s); cached deps stay optimised, release builds are unaffected. | |
| args: ${{ matrix.args }} -- --config profile.release.package.picto_py.opt-level=0 |