diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml new file mode 100644 index 0000000..259971b --- /dev/null +++ b/.forgejo/workflows/check.yml @@ -0,0 +1,20 @@ +on: [push] +jobs: + check: + runs-on: nixos + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - run: nix --version + - run: nix flake update systems + - run: nix flake check --keep-going + build: + runs-on: nixos + strategy: + matrix: + machine: + - vm + steps: + - uses: https://code.forgejo.org/actions/checkout@v4 + - run: nix --version + - run: nix flake update systems + - run: nix build --print-build-logs '.#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel'