Files
zeekayandHanzo Dev 9f4fedfa8c ci: canonical pair — hanzo.yml + forge caller
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]>
2026-08-06 02:29:14 -07:00

19 lines
765 B
YAML

# Canonical CI/CD config for hanzoai/ha — the one file both the hanzoai/ci
# reusable (.hanzo/workflows/cicd.yml) and platform.hanzo.ai read.
#
# A Go module (leader election, fencing tokens, membership). It ships from a tag
# to proxy.golang.org and builds no image, so there is no `images:` and no
# `deploy:` — only a gate.
#
# `-race` is not decoration here: everything in this package is concurrency
# primitives, so a data race IS the bug class it exists to prevent, and the race
# detector is the only thing that sees it. `-count=1` keeps the result from being
# served out of the test cache, so a green means it ran on this commit.
test:
- name: build
run: |
set -e
go build ./...
go vet ./...
go test -race -count=1 ./...