feat: nix support & github workflow

* nix flake

* workflow

* remove flake-utils
This commit is contained in:
Astavie
2023-03-14 20:35:40 +01:00
committed by GitHub
parent 9654e6cc59
commit 1ab11f1660
3 changed files with 162 additions and 0 deletions

12
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: build
on: [pull_request, push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nix flake check