Add basic Github Actions CI
This commit is contained in:
parent
066ab5b5e2
commit
d4fe35caa7
|
@ -0,0 +1,19 @@
|
||||||
|
name: Nix actions
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
nix-flake-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@v24
|
||||||
|
with:
|
||||||
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Run checks
|
||||||
|
run: nix flake check -L
|
Loading…
Reference in New Issue