aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check.yml')
-rw-r--r--.github/workflows/check.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..e7560e6
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,23 @@
+name: Check Flake
+
+on:
+ workflow_dispatch:
+ pull_request:
+ paths:
+ - "**.nix"
+ - "**.lock"
+ - ".github/workflows/check.yml"
+ push:
+ paths:
+ - "**.nix"
+ - "**.lock"
+ - ".github/workflows/check.yml"
+
+jobs:
+ check:
+ # uses the local reusable workflow
+ uses: ./.github/workflows/nix.yml
+ secrets:
+ GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ with:
+ command: nix flake check --accept-flake-config