diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml new file mode 100644 index 00000000..a2998546 --- /dev/null +++ b/.github/workflows/nix.yaml @@ -0,0 +1,17 @@ +name: "Nix" +on: + pull_request: + push: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 + - name: Flake build + run: nix build + - name: Flake check + run: nix flake check + - name: Cabal build into develop shell + run: nix develop && cabal build all -j +