Skip to content

Commit

Permalink
ci: update cyclonedx-gomod to v1 (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro committed Oct 1, 2021
1 parent 0562d1e commit 28f9dd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -46,8 +46,7 @@ jobs:
- name: Test
run: make test
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v0.3.0
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
json: true
type: library
version: "^v0"
version: v1
args: mod -licenses -json -type library -verbose
8 changes: 3 additions & 5 deletions .github/workflows/goreleaser.yml
Expand Up @@ -18,12 +18,10 @@ jobs:
with:
go-version: 1.16
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v0.3.0
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
json: true
output: bom.json
type: library
version: "^v0"
version: v1
args: mod -licenses -json -output bom.json -type library -verbose
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 28f9dd3

Please sign in to comment.