ci: extract reusable bazel-ci workflow with parallel builds#7
Merged
clappingmonkey merged 4 commits intomainfrom Mar 17, 2026
Merged
ci: extract reusable bazel-ci workflow with parallel builds#7clappingmonkey merged 4 commits intomainfrom
clappingmonkey merged 4 commits intomainfrom
Conversation
- Create bazel-ci.yaml reusable workflow for test, build, and publish
- Simplify test.yaml to call reusable workflow (removes duplication)
- Simplify release.yaml to call reusable workflow
- Add workflow_dispatch trigger with dry-run option for manual runs
- Implement matrix strategy for parallel cross-compilation (5 platforms)
- Unify cache keys: bazel-{branch}-{lockfile-hash} for better sharing
- Add restore-keys fallback to main branch cache for new branches
Benefits:
- ~60% less workflow code duplication
- ~4 min faster releases (parallel platform builds vs sequential)
- Better cache hit rates (PR cache warms post-merge builds)
Configure changelog-sections to organize release notes: - Features, Bug Fixes, Performance, Reverts, Documentation shown - Internal changes (ci, test, chore, refactor, build) hidden This keeps the CHANGELOG focused on user-facing changes.
- Add x-release-please-version annotation to MODULE.bazel - Update version to 0.2.0 to match manifest - Remove undocumented 'search' regex from extra-files config The annotation approach is the documented method for generic updaters.
- Move .release-please-config.json → .github/release-please-config.json - Move .release-please-manifest.json → .github/release-please-manifest.json - Update release.yaml to reference new config paths Groups all GitHub-related configuration together.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benefits: