Skip to content

Bump anchore/sbom-action from 0.15.10 to 0.15.11 (#498) #1487

Bump anchore/sbom-action from 0.15.10 to 0.15.11 (#498)

Bump anchore/sbom-action from 0.15.10 to 0.15.11 (#498) #1487

Workflow file for this run

name: Verify
on:
push:
pull_request:
permissions:
contents: read
jobs:
license-check:
name: license boilerplate check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.22'
check-latest: true
- name: Install addlicense
run: go install github.com/google/addlicense@v1.0.0
- name: Check license headers
run: |
set -e
addlicense -l apache -c 'The Sigstore Authors' -v \
-ignore "*.yml" \
-ignore "*.yaml" \
-ignore "internal/fork/**" \
*
git diff --exit-code
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.22'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@38e1018663fa5173f3968ea0777460d3de38f256 # v5.3.0
timeout-minutes: 5
with:
version: v1.57
generate-docs:
name: generate-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: '1.22'
check-latest: true
- name: Check CLI docs are up to date
run: ./hack/presubmit.sh