mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 10:37:21 +09:00
make build only compiles the Docker images and cmd/cozypkg, so a broken Go submodule (api/apps/v1alpha1, kubevirt-csi-driver, token-proxy, kubeovn-webhook) stayed green in PR CI until something imported it. This was the last of the three Go gates from #2499; the codegen-drift and go-unit-tests gates already landed. Add a standalone go-build workflow that runs go build ./... for the root module and each submodule as an independent matrix, mirroring the codegen-drift gate: GitHub-hosted, decoupled from the heavy E2E pipeline for fast feedback. go test ./... is intentionally not added here — the root module's generated-code round-trip suites depend on generator tool versions outside this repo and run from their own workflows. Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>