Skip to content

feat: Add setup semver option#80

Merged
rbarker-dev merged 2 commits into
mainfrom
76-set-up-semver
Jun 26, 2026
Merged

feat: Add setup semver option#80
rbarker-dev merged 2 commits into
mainfrom
76-set-up-semver

Conversation

@rbarker-dev

Copy link
Copy Markdown
Contributor

Description

This pull request adds support for installing and verifying the semver tool in the GitHub Actions workflow. It introduces a new input to control whether semver should be set up, updates documentation and outputs accordingly, and adds tests to ensure the tool is installed and working as expected.

SemVer tool integration:

  • Added a new setup-semver input to action.yml and updated the documentation in README.md to allow users to opt-in to installing the semver tool as part of the workflow. [1] [2]
  • Implemented a new step in action.yml that downloads, installs, and verifies the semver tool, and exposes its version as an output. [1] [2] [3]
  • Updated workflow examples in README.md to show how to use the new setup-semver input.

Workflow and test enhancements:

  • Modified .github/workflows/test.yml to include setup-semver in relevant jobs and verify the installation of semver. [1] [2]
  • Added a dedicated test-setup-semver job in .github/workflows/test.yml to ensure the setup and output of the semver tool works as intended.

Related Issue(s)

Closes #76

Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
Copilot AI review requested due to automatic review settings June 26, 2026 04:27
@rbarker-dev rbarker-dev linked an issue Jun 26, 2026 that may be closed by this pull request
@rbarker-dev rbarker-dev self-assigned this Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-semver input and semver-version output to action.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.

Comment thread action.yml
Comment thread README.md Outdated
Comment thread action.yml
Signed-off-by: Roger Barker <roger.barker@swirldslabs.com>
@rbarker-dev rbarker-dev merged commit cf68e85 into main Jun 26, 2026
18 checks passed
@rbarker-dev rbarker-dev deleted the 76-set-up-semver branch June 26, 2026 04:41
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.

Set up semver

3 participants