CI: check nix build works
Browse files at this commitbeaffb1b976e41acd9a4801c56c1ea2840f7745eParent: 38545431 changed file +15 -0
- .github/workflows/ci.yml +15 -0
.github/workflows/ci.ymlmodified+15 -0
| @@ -143,3 +143,18 @@ jobs: | |||
| 143 | - uses: Swatinem/rust-cache@v2 | 143 | - uses: Swatinem/rust-cache@v2 |
| 144 | - run: cargo build --all | 144 | - run: cargo build --all |
| 145 | 145 | ||
| 146 | + nix: | ||
| 147 | + runs-on: ubuntu-22.04 | ||
| 148 | + steps: | ||
| 149 | + - uses: actions/checkout@v4 | ||
| 150 | + | ||
| 151 | + - name: Check flake inputs | ||
| 152 | + uses: DeterminateSystems/flake-checker-action@v4 | ||
| 153 | + continue-on-error: true | ||
| 154 | + | ||
| 155 | + - name: Install Nix | ||
| 156 | + uses: DeterminateSystems/nix-installer-action@v3 | ||
| 157 | + continue-on-error: true | ||
| 158 | + | ||
| 159 | + - run: nix build | ||
| 160 | + continue-on-error: true | ||