You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,15 @@ GitHub action to generate a CycloneDX SBOM for Go modules.
8
8
9
9
### `version`
10
10
11
-
**Required** The version of cyclonedx-gomod to use.
11
+
**Required** The version of cyclonedx-gomod to use. Can be a version range, in which case the latest version matching the range is chosen.
12
12
13
-
Must either be an [existing semantic version](https://github.com/CycloneDX/cyclonedx-gomod/releases) (e.g. `v0.8.1`, `0.8.1`) or `latest`.
13
+
Must either be an [existing semantic version](https://github.com/CycloneDX/cyclonedx-gomod/releases) (e.g. `v0.8.1`, `0.8.1`), [version range](https://github.com/npm/node-semver#ranges) or `latest`.
14
14
15
15
> ⚠ Only versions `>= v0.8.1` are supported. Specifying versions below that will cause the workflow to fail.
16
16
17
17
> Using `latest` is generally not recommended and will produce a warning, as it may fail your workflow
18
18
> unexpectedly due to breaking changes in newer *cyclonedx-gomod* versions.
19
+
> As of v0.3.0, version ranges are supported. Instead of `latest`, consider using `^v0`, `^v0.8` or similar instead.
19
20
20
21
### `include-stdlib`
21
22
@@ -61,15 +62,15 @@ Type of the main component. Default `'application'`.
0 commit comments