add gh actions workflow
This commit is contained in:
parent
b2f8d8694d
commit
6a4308bafe
1 changed files with 14 additions and 0 deletions
14
.github/workflows/build-and-flake-check.yml
vendored
Normal file
14
.github/workflows/build-and-flake-check.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue