From a4138a4b443cc6dfcfcb306fd6f072aac22f5a86 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 5 Jan 2020 06:13:56 +0000 Subject: [PATCH] Add Nix build job --- .github/workflows/ubuntu.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 737d67c..57aceef 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -14,3 +14,15 @@ jobs: - name: Build run: go build + + nix-build: + name: nix-build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: Install Nix + run: curl https://nixos.org/nix/install | sh + + - name: Build + run: sudo make nix # root required for Nix build sandbox