From 59b6f0ce32e5e9591eed099ce21ad75a016da549 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Mon, 19 Feb 2024 10:58:51 +0100 Subject: [PATCH] Add nix build CI --- .github/workflows/nix-build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/nix-build.yml diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml new file mode 100644 index 000000000..a2689a428 --- /dev/null +++ b/.github/workflows/nix-build.yml @@ -0,0 +1,18 @@ +name: Nix build + +on: + push: + pull_request: + +jobs: + build-nix: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v25 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - run: nix build + - run: nix-shell --run "echo OK"