bump desktop version to 0.0.42 #61
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: Rust CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "apps/desktop/src-tauri/**" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "apps/desktop/src-tauri/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rust: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Rust cache | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: apps/desktop/src-tauri -> target | |
| - name: Check | |
| run: cargo check | |
| working-directory: apps/desktop/src-tauri | |
| - name: Clippy | |
| run: cargo clippy -- -D warnings | |
| working-directory: apps/desktop/src-tauri | |
| - name: Test | |
| run: cargo test | |
| working-directory: apps/desktop/src-tauri |