From 0555277c500dc6426671712a3f050cfa0a467203 Mon Sep 17 00:00:00 2001 From: Marco Piovanello <35533749+marcopeocchi@users.noreply.github.com> Date: Wed, 28 Aug 2024 21:13:39 +0200 Subject: [PATCH] Create nix.yml --- .github/workflows/nix.yml | 14 ++++++++++++++ 1 file changed, 14 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..0844269 --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,14 @@ +name: "Nix CI" +on: + pull_request: + push: +jobs: + tests: + 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