mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 18:51:54 -05:00
Create check-flake.yml
added automatic `nix flake check` action on push.
This commit is contained in:
parent
409cdbb9de
commit
8af90582f1
20
.github/workflows/check-flake.yml
vendored
Normal file
20
.github/workflows/check-flake.yml
vendored
Normal 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
|
Loading…
Reference in a new issue