mirror of
https://github.com/hanzoai/unrs-resolver.git
synced 2026-09-24 17:03:52 +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]>
15 lines
742 B
YAML
15 lines
742 B
YAML
# Canonical CI/CD config for hanzoai/unrs-resolver — read by hanzoai/ci (via
|
|
# .hanzo/workflows/cicd.yml) and by platform.hanzo.ai.
|
|
#
|
|
# Rust napi addon published to npm. The gate is `cargo check` over the whole
|
|
# workspace INCLUDING test and bench targets — the resolver is Rust, the npm
|
|
# package is a thin binding around it, so a type or borrow error in src/ is the
|
|
# break, and --all-targets is what stops a test file from rotting unnoticed.
|
|
#
|
|
# `check`, not `build --release`: the release napi link step produces the
|
|
# artifact but proves nothing the type check has not already proven, and the
|
|
# release lane (release-napi.yml) is where the artifact belongs.
|
|
test:
|
|
- name: cargo-check
|
|
run: cargo check --workspace --all-targets
|