From 6bb5d1103829f1f00913cfca7e7d428cd2cb4248 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sun, 27 Oct 2024 17:01:27 +0200 Subject: [PATCH] CI: init --- .github/workflows/nix.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/nix.yml diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 0000000..2bfc8db --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,21 @@ +name: Build + +on: [push, pull_request, workflow_dispatch] +jobs: + nix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + # not needed (yet) + # - uses: cachix/cachix-action@v12 + # with: + # name: hyprland + # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + + - name: Build + run: nix build --print-build-logs --keep-going +