add github actions

This commit is contained in:
Johannes Kirschbauer 2022-11-26 10:59:27 +01:00 committed by GitHub
parent 151b0b35b4
commit d45b6776ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: "build"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix build