mirror of
https://github.com/hanzoai/flags.git
synced 2026-10-30 18:36:27 +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]>
20 lines
615 B
YAML
20 lines
615 B
YAML
# Feature-flag clients for one engine in four languages. No image; each language
|
|
# publishes to its own registry from a tag.
|
|
#
|
|
# Gate: the Go client's suite — which includes parity_test.go, the fixture-driven
|
|
# check that evaluation agrees with the engine — plus a type check of the
|
|
# TypeScript client. Those are the two halves that can be proven without a live
|
|
# /v1/flags endpoint.
|
|
test:
|
|
- name: go
|
|
run: |
|
|
set -euo pipefail
|
|
cd go
|
|
go test ./...
|
|
- name: typescript
|
|
run: |
|
|
set -euo pipefail
|
|
cd typescript
|
|
npm install --no-audit --no-fund
|
|
npm run type-check
|