Skip to content

Build bom and licenses #199

Build bom and licenses

Build bom and licenses #199

Workflow file for this run

name: "Build bom and licenses"
on:
workflow_dispatch: {}
schedule:
- cron: 0 3 * * *
permissions: read-all
jobs:
sbom:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
- uses: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2.0.0
with:
version: v1
args: mod -licenses -json -output licenses.json
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: licenses
path: |
licenses.json