Fix P2/P3 rerun-example follow-up beads + version bumps #459
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: Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "main" | |
| env: | |
| CARGO_INCREMENTAL: 0 | |
| CARGO_NET_RETRY: 10 | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install ALSA development package | |
| run: sudo apt-get update && sudo apt-get install -y libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev protobuf-compiler | |
| - name: Configure cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-targets: "false" | |
| - name: Run Build | |
| run: cargo build | |
| - name: Check all targets (examples, tests, benches) | |
| run: cargo check --workspace --all-targets | |
| - name: Check rerun-gated code | |
| run: cargo check -p ferritin-bevy --features rerun | |
| - name: Check rerun example | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| run: cargo check -p ferritin-examples --features rerun --example rerun | |
| - name: Run tests | |
| run: cargo test --verbose |