From ecfa04617d75455c47ba2cba551e7a87bfd84a9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= <dev@felschr.com>
Date: Sun, 19 Jan 2025 12:39:52 +0100
Subject: [PATCH] build: add .forgejo/workflows/test.yml

---
 .forgejo/workflows/test.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .forgejo/workflows/test.yml

diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000..de4b2f3
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -0,0 +1,18 @@
+name: "Test"
+on:
+  pull_request:
+  push:
+jobs:
+  tests:
+    runs-on: native:host
+    steps:
+      - uses: actions/checkout@v4
+      - uses: https://github.com/cachix/cachix-action@v15
+        with:
+          name: mycache
+          authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
+      # - run: nix flake check
+      - run: nix build .#brlaser
+      - run: nix build .#deconz
+      - run: nix build .#nixosConfigurations.home-server.config.system.build.toplevel
+      - run: nix build .#nixosConfigurations.home-pc.config.system.build.toplevel