summaryrefslogtreecommitdiff
path: root/.github/workflows/nix.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-20 20:27:18 -0500
committerseth <[email protected]>2023-12-21 02:34:37 +0000
commit5aa2e6c0c6e4c73d93307e9f70803237006afb28 (patch)
treef26a67452e2d4a4ed30506e533ac17cc95184fac /.github/workflows/nix.yaml
parent2a6f22fc1f1939b102fb8925bf04914a4b553e17 (diff)
go back to lume
Diffstat (limited to '.github/workflows/nix.yaml')
-rw-r--r--.github/workflows/nix.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml
new file mode 100644
index 0000000..193c6a3
--- /dev/null
+++ b/.github/workflows/nix.yaml
@@ -0,0 +1,25 @@
+name: Nix
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ check:
+ name: Check flake
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@v9
+
+ - name: Setup cache
+ uses: DeterminateSystems/magic-nix-cache-action@v2
+
+ - name: Run check
+ run: |
+ nix flake check -L --show-trace