Skip to content

Split CI into test, build, and release orchestrator workflows - #101

Merged
popen2 merged 3 commits into
mainfrom
split-ci-workflows
May 28, 2026
Merged

popen2 merged 3 commits into
mainfrom
split-ci-workflows

Conversation

@popen2

@popen2 popen2 commented May 28, 2026

Copy link
Copy Markdown
Member

Summary

  • New test.yml (fmt + clippy + test) — runs on pull_request and exposes workflow_call
  • New build.yml (multi-arch image matrix) — runs on pull_request (validation, no push) and exposes workflow_call with a push input
  • release.yml is now a tag-push-only orchestrator that calls test.yml and build.yml (with push: true), then assembles the manifest list and publishes the GitHub release

Test plan

  • test.yml runs and passes on this PR
  • build.yml runs the PR-validation build on both linux/amd64 and linux/arm64 without pushing
  • Next tag push triggers release.yml, which runs test + build (push:true) → merge → release end to end

🤖 Generated with Claude Code

popen2 and others added 3 commits May 28, 2026 21:48
Extracts fmt + clippy + test into a reusable test.yml and the
multi-arch image build into a reusable build.yml. Both run directly
on pull_request (build.yml without pushing). release.yml now
triggers only on tag push, calls test.yml and build.yml via
workflow_call (build with push:true), and gates merge + GitHub
release on both completing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- build.yml: collapse the PR-validation / push-by-digest pair into
  a single Build step with a conditional `outputs:` expression
  (type=cacheonly on PR, push-by-digest on release)
- build.yml: lift the base image tag to a workflow-level
  BASE_IMAGE env var so bumps live in one place
- release.yml: replace the deprecated actions/create-release +
  actions/upload-release-asset + StuYarrow/publish-release trio
  with a single softprops/action-gh-release@v3 step
- Bump action versions across all three files: actions/checkout
  @v5→@v6, actions/cache @v4→@v5, actions/upload-artifact @v4→@v7,
  actions/download-artifact @v4→@v8, docker/login-action @V3→@v4,
  docker/setup-buildx-action @V3→@v4, docker/build-push-action
  @v6→@v7

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@popen2
popen2 merged commit c66085a into main May 28, 2026
6 checks passed
@popen2
popen2 deleted the split-ci-workflows branch May 28, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant