.github/workflows: add cachix

This commit is contained in:
Alexander Sosedkin 2021-06-25 09:17:41 +02:00
parent ac55653ff3
commit 97c209fe4b

17
.github/workflows/cachix.yml vendored Normal file
View file

@ -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