feat: Add setup semver option#80
Merged
Merged
Conversation
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
Closed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an opt-in setup-semver capability to the composite action so workflows can install the semver tool and surface its version via a new semver-version output, with accompanying docs and CI coverage.
Changes:
- Added
setup-semverinput andsemver-versionoutput toaction.yml. - Implemented a SemVer download/install/verify step in the composite action.
- Updated README usage/docs and expanded workflow tests to validate installation and output behavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| README.md | Documents the new setup-semver input and semver-version output, and updates examples. |
| action.yml | Adds the new input/output and implements the SemVer setup step. |
| .github/workflows/test.yml | Enables setup-semver in the main test job and adds a dedicated job to validate the output/version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
nathanklick
approved these changes
Jun 26, 2026
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.
Description
This pull request adds support for installing and verifying the
semvertool in the GitHub Actions workflow. It introduces a new input to control whethersemvershould be set up, updates documentation and outputs accordingly, and adds tests to ensure the tool is installed and working as expected.SemVer tool integration:
setup-semverinput toaction.ymland updated the documentation inREADME.mdto allow users to opt-in to installing thesemvertool as part of the workflow. [1] [2]action.ymlthat downloads, installs, and verifies thesemvertool, and exposes its version as an output. [1] [2] [3]README.mdto show how to use the newsetup-semverinput.Workflow and test enhancements:
.github/workflows/test.ymlto includesetup-semverin relevant jobs and verify the installation ofsemver. [1] [2]test-setup-semverjob in.github/workflows/test.ymlto ensure the setup and output of thesemvertool works as intended.Related Issue(s)
Closes #76