Add game running monitor and UI integration #14
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: Backend CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'src-tauri/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'src-tauri/**' | |
| jobs: | |
| test-rust: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libgtk-3-dev \ | |
| libwebkit2gtk-4.1-dev \ | |
| librsvg2-dev \ | |
| patchelf \ | |
| libayatana-appindicator3-dev | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| # Include clippy and rustfmt for linting | |
| components: clippy, rustfmt | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri | |
| - name: Check formatting | |
| run: cargo fmt --manifest-path src-tauri/Cargo.toml -- --check | |
| - name: Clippy (Lint) | |
| run: cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings |