Skip to content

feat(workflows): add project hooks#2

Merged
DonPrus merged 1 commit intomainfrom
feat/workflow-hooks
May 6, 2026
Merged

feat(workflows): add project hooks#2
DonPrus merged 1 commit intomainfrom
feat/workflow-hooks

Conversation

@DonPrus
Copy link
Copy Markdown
Contributor

@DonPrus DonPrus commented May 6, 2026

Summary

  • add configurable target matrices to CI, nightly, and release reusable workflows
  • add optional Node setup plus project hook commands for generated assets and other repo-specific prep
  • add a single-target CI E2E command hook so callers can keep behavior checks inside the shared matrix
  • add optional release source archive support with caller-controlled prepare command and tar excludes
  • document a NullHub-style generated-assets setup

Validation

  • ruby -e 'require "yaml"; Dir[".github/workflows/*.yml"].each { |f| YAML.load_file(f); puts "ok #{f}" }'
  • ruby -e 'require "yaml"; require "json"; [".github/workflows/zig-ci.yml", ".github/workflows/zig-release.yml", ".github/workflows/zig-nightly.yml"].each { |f| y=YAML.load_file(f); inputs=y.fetch(true).fetch("workflow_call").fetch("inputs"); inputs.each { |k,v| JSON.parse(v["default"]) if k == "targets_json" }; puts "json ok #{f}" }'
  • git diff --check

Allow null Zig projects to customize targets, run Node-backed pre-build hooks, attach E2E commands, and publish optional source archives from the shared workflows.
@DonPrus DonPrus merged commit 64e7d6d into main May 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant