We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6a12a commit 0ec5d60Copy full SHA for 0ec5d60
.github/scripts/check.sh
@@ -0,0 +1,7 @@
1
+#!/usr/bin/env bash
2
+
3
+find . -type d -maxdepth 1 \( -iname "*" ! -iname ".*" \) | while read line; do
4
+ pushd $line
5
+ nix flake check || { echo 'Check Failed!' ; exit 1; }
6
+ popd
7
+done
.github/workflows/check.yml
@@ -0,0 +1,12 @@
+name: "Check"
+on:
+ pull_request:
+ push:
+jobs:
+ check-flakes:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: cachix/install-nix-action@v20
12
+ - run: ./.github/scripts/check.sh
0 commit comments