Skip to content

CI Workflow Contract

Review the CI wiring contract for Go tests, CLI contracts, and the GitHub-host remote validator.

Repository-local command

cd productive-k3s-cli
bash -lc 'tmp="$(mktemp -d)"; trap '"'"'"'"'"'"'"'"'rm -rf "$tmp"'"'"'"'"'"'"'"'"' EXIT; TEST_ARTIFACTS_DIR="$tmp" bash ./tests/contracts/07-ci-workflow-contract.sh && cat "$tmp/ci-workflow-contract.json"'

Cast preview

Scenario details

Review the CI wiring contract for Go tests, CLI contracts, and the GitHub-host remote validator.

Use this when you want to review:

  • that Go tests run before the CLI contract suite in CI
  • that the workflow uses explicit bash steps
  • that the remote on-prem GitHub-host validator remains wired into the CI contract