diff options
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cd6cee7..e9bddd9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,9 +22,6 @@ jobs: runs-on: ${{ matrix.os }} - env: - SYSTEM: ${{ matrix.system }} - steps: # https://github.com/actions/runner-images/issues/2840#issuecomment-790492173 - name: Clear disk space @@ -48,24 +45,22 @@ jobs: name: getchoo authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - - name: Run build + - name: Run checks run: | - nix run --inputs-from . \ - github:Mic92/nix-fast-build -- \ - --no-nom \ - --skip-cached \ - --option allow-import-from-derivation false \ - --flake ".#hydraJobs.$SYSTEM" + nix flake check \ + --print-build-logs \ + --show-trace build-gate: name: Build gate if: ${{ always() }} - needs: build + needs: [ build ] runs-on: ubuntu-latest steps: - name: Exit with error - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') - run: exit 1 + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} + run: | + exit 1 |
