Skip to content

Build bom and licenses #172

Build bom and licenses

Build bom and licenses #172

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@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: licenses
path: |
licenses.json