ci: add cachix cache

This commit is contained in:
zimbatm 2020-10-19 20:56:00 +02:00 committed by Robert Helgesson
parent 18429f1d1d
commit 731959ef0e
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 4 additions and 0 deletions

View File

@ -14,5 +14,9 @@ jobs:
- uses: cachix/install-nix-action@v10
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v6
with:
name: nix-community
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix-shell . -A install
- run: nix-shell --pure --max-jobs 4 tests -A run.all