ci: add github-actions

This commit is contained in:
zimbatm 2021-02-10 11:50:46 +01:00
parent 7d21997381
commit 86f98e734f
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

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

@ -0,0 +1,23 @@
name: Nix
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ ubuntu-20.04 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
- uses: cachix/cachix-action@v8
with:
name: nix-community
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: ./build
env:
- NIX_PATH=channel:nixos-unstable