add gh actions workflow

This commit is contained in:
cy 2024-12-28 10:37:07 -05:00
parent b2f8d8694d
commit 6a4308bafe

View file

@ -0,0 +1,14 @@
name: "nix build and flake check"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nix flake check