Pr gametest framework #584
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: Nix Flake | |
| on: | |
| push: | |
| paths: | |
| - "**.nix" | |
| - "flake.lock" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "crates/**" | |
| - ".github/workflows/nix.yml" | |
| pull_request: | |
| paths: | |
| - "**.nix" | |
| - "flake.lock" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "crates/**" | |
| - ".github/workflows/nix.yml" | |
| workflow_dispatch: | |
| jobs: | |
| check-flake: | |
| name: Validate Flake & Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: recursive | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v22 | |
| - name: Magic Nix Cache | |
| uses: DeterminateSystems/magic-nix-cache-action@v14 | |
| - name: Check flake formatting and evaluation | |
| run: nix flake check | |
| - name: Build default package | |
| run: nix build .#default |