mirror of
https://github.com/hanzoai/orm.git
synced 2026-10-30 15:01:22 +00:00
github.com has no runner for hanzo-build-linux-amd64, so a caller under .github/workflows is a gate that can never be scheduled. This is the ~7-line caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1. Co-authored-by: Hanzo Dev <[email protected]>
16 lines
600 B
YAML
16 lines
600 B
YAML
# Canonical CI/CD config for hanzoai/orm — read by the hanzoai/ci reusable
|
|
# (.hanzo/workflows/cicd.yml) and by platform.hanzo.ai.
|
|
#
|
|
# A Go library: ships from a tag as a module, builds no image, so no `images:`
|
|
# and no `deploy:`.
|
|
#
|
|
# `replicated/` carries its OWN go.mod, so the root `./...` does not reach it —
|
|
# a second module is invisible to the first one's build. Gated explicitly, or
|
|
# it ships ungated forever.
|
|
|
|
test:
|
|
- name: build
|
|
run: go build ./... && (cd replicated && go build ./...)
|
|
- name: test
|
|
run: go test -count=1 ./... && (cd replicated && go test -count=1 ./...)
|