This version adds support for version ranges in the version
input.
Instead of using latest
, you can now do the following:
- uses: CycloneDX/[email protected]
with:
version: ^v0
This way, you avoid breaking your builds once a new backwards-incompatible major version of cyclonedx-gomod is released.
For a full overview of the range syntax, see https://github.com/npm/node-semver#advanced-range-syntax