Skip to content

Add options for Rekor client, make public key fetcher configurable. #290

Add options for Rekor client, make public key fetcher configurable.

Add options for Rekor client, make public key fetcher configurable. #290

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
check-latest: true
- name: Install addlicense
run: go install github.com/google/[email protected]
- 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
timeout-minutes: 5
with:
version: v1.54
generate-docs:
name: generate-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
check-latest: true
- name: Check CLI docs are up to date
run: ./hack/presubmit.sh