Skip to content

ci: add release-please workflow and bump action versions#30

Merged
dadadave80 merged 1 commit into
devfrom
chore/ci-release-please-and-action-bumps
Jul 10, 2026
Merged

ci: add release-please workflow and bump action versions#30
dadadave80 merged 1 commit into
devfrom
chore/ci-release-please-and-action-bumps

Conversation

@dadadave80

Copy link
Copy Markdown
Owner

What

  • Adds release-please (googleapis/release-please-action@v5, the latest) to automate versioning, CHANGELOG.md, git tags, and GitHub releases from Conventional Commits.
  • Bumps CI actions to latest: actions/checkout v4 → v7. foundry-rs/foundry-toolchain@v1 is already the latest major (1.9.0), so it's unchanged.

release-please configuration

  • Runs on push to main — matches this repo's release flow (feature branches → dev, then devmain to cut a release). The workflow activates once it reaches main via the next dev → main merge.
  • release-type: simple — this is a Foundry library with no package manifest; release-please tracks the version in the manifest + CHANGELOG.md and tags vX.Y.Z (matching the existing v0.1.4 convention).
  • Seeded at 0.1.4 in .release-please-manifest.json so it continues from the current release rather than restarting.
  • bump-minor-pre-major: true — pre-1.0, breaking changes bump the minor (e.g. 0.1.4 → 0.2.0) instead of jumping to 1.0.0. Remove this flag (or use release-as: 1.0.0) when you're ready for a stable major.
  • Uses the default GITHUB_TOKEN. Caveat: the release PR it opens won't trigger CI runs — swap in a PAT secret if you want checks on release PRs.

Files

Action File
NEW .github/workflows/release-please.yml
NEW release-please-config.json
NEW .release-please-manifest.json
EDIT .github/workflows/test.yml (checkout v4 → v7)

Notes / decisions to confirm

  • Release branch = main (inferred from the dev → main release history). If you'd rather release-please open its PRs on dev, change the trigger branch — one line.
  • Config validated against the release-please JSON schema; both workflow YAMLs parse cleanly.

- Add release-please (googleapis/release-please-action@v5) on push to main;
  release-type `simple`, seeded at 0.1.4 via manifest, `bump-minor-pre-major`
  so pre-1.0 breaking changes stay in 0.x (no surprise 1.0.0)
- Add release-please-config.json + .release-please-manifest.json
- Bump actions/checkout v4 -> v7 (foundry-toolchain@v1 already latest major, 1.9.0)
@dadadave80
dadadave80 merged commit 95f0a0b into dev Jul 10, 2026
2 checks passed
@dadadave80
dadadave80 deleted the chore/ci-release-please-and-action-bumps branch July 10, 2026 22:42
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