feat(ci): checks-on-push workflow (Forgejo Actions, eval tier)
.forgejo/workflows/check.yml runs on every push to main/v1 (+ manual dispatch): nix flake check --no-build (full module-system eval incl. the downstream template through mkFlake), py_compile of nomarchy-theme-sync, and bash -n over tracked .sh files. The always-on net under direct-to-main pushes — first slice of the ROADMAP lock-bump CI item. Scoped to the eval tier deliberately: the instance's runner is an act_runner docker container (no systemd, no /dev/kvm — established from the legacy repo's .gitea/workflows/check.yml, which ran 57 times on it), so the checks.* VM suite and real builds can't run there. A commented vm-checks job documents the KVM-runner upgrade path; the legacy workflow's container gotchas (nixbld setup for the single-user installer, sandbox=false for Stylix IFD, Nix pinned 2.31.5 vs lazy-trees, no JS actions past node20) are carried over verbatim in the header. docs/TESTING.md §1b documents what a green run does and does not mean. Verified: V0 locally (the same check commands, minus the container Nix install) + YAML parse. A real green run depends on the runner still being registered — not API-visible unauthenticated, so that is queued as [human] BACKLOG item 20. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,17 @@ bad merges — most breakage stops here. It also evaluates the downstream
|
||||
template through `lib.mkFlake` (including a real nixos-hardware profile),
|
||||
so template/wrapper drift fails fast too.
|
||||
|
||||
## 1b. CI (automatic on push)
|
||||
|
||||
Every push to `main`/`v1` runs `.forgejo/workflows/check.yml`: the §1
|
||||
cheap checks (flake eval, Python + shell syntax) on the Forgejo instance.
|
||||
That's the **eval tier only** — the runner is a docker container without
|
||||
KVM, so the `checks.*` VM suite and real builds stay local (this file)
|
||||
until a KVM-capable runner is registered; the workflow carries a
|
||||
commented `vm-checks` job ready for that day. A green CI run is *not* "it
|
||||
renders" (the honesty rule below still applies) — it means "nobody broke
|
||||
evaluation".
|
||||
|
||||
## 2. Build and boot the live ISO
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user