ci: add basic nix and cachix support ()

This commit is contained in:
zimbatm 2020-04-07 13:31:11 +00:00 committed by GitHub
parent cc67646556
commit 53e2bc01d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 86 additions and 23 deletions
.github/workflows

15
.github/workflows/nix.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: "Nix"
on:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- uses: cachix/cachix-action@v5
with:
name: nix-community
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# Only needed for private caches
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'