build: add .forgejo/workflows/test.yml
Some checks failed
Test / tests (push) Failing after 16s

This commit is contained in:
Felix Schröter 2025-01-19 12:39:52 +01:00
parent b929d21868
commit bcaff45178
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -0,0 +1,18 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: native
steps:
- uses: https://code.forgejo.org/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