1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

add flake check

This commit is contained in:
Ryan Cao 2023-07-20 09:02:31 +08:00
parent dab9d5a28a
commit db4f9abc9d
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 23 additions and 0 deletions

16
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,16 @@
name: "Check flake"
on:
push:
paths:
- "**.nix"
- "**.lock"
- ".github/workflows/check.yml"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: nix flake check --show-trace --accept-flake-config