Skip to content

Commit

Permalink
fix: inline go generator
Browse files Browse the repository at this point in the history
  • Loading branch information
danlucian committed Jul 14, 2023
1 parent 5436da2 commit a385c59
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/actions/sbom-generator-cyclonedx-golang/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@ inputs:
runs:
using: 'composite'
steps:
- name: Install generator
working-directory: ./fixtures/golang
shell: bash
run: go get github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest

- name: Generate CycloneDX document
working-directory: ./fixtures/golang
shell: bash
run: cyclonedx-gomod mod -json=true -output sbom.cdx.json ./
run: go run github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest mod -json=true -output sbom.cdx.json ./

- name: Upload generated SBOM document as artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a385c59

Please sign in to comment.