From 97c209fe4b6d3c03e4653df86b58d8dbeaff65dd Mon Sep 17 00:00:00 2001 From: Alexander Sosedkin Date: Fri, 25 Jun 2021 09:17:41 +0200 Subject: [PATCH] .github/workflows: add cachix --- .github/workflows/cachix.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cachix.yml diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml new file mode 100644 index 0000000..6ca58cc --- /dev/null +++ b/.github/workflows/cachix.yml @@ -0,0 +1,17 @@ +name: "Build ci.nix and push to cachix" +on: + pull_request: + push: +jobs: + cachix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + - uses: cachix/install-nix-action@v13 + with: + nix_path: nixpkgs=channel:nixos-21.05 + - uses: cachix/cachix-action@v10 + with: + name: nix-on-droid + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: nix-build ci.nix