Create check-flake.yml

added automatic `nix flake check` action on push.
This commit is contained in:
Aly Raffauf 2024-03-05 01:41:31 -05:00 committed by GitHub
parent 409cdbb9de
commit 8af90582f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/check-flake.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Check flake
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
- name: Check if flake.nix still evaluates
run: nix flake check