Skip to content

Bump actions/checkout from 4.0.0 to 4.1.0 (#381) #1046

Bump actions/checkout from 4.0.0 to 4.1.0 (#381)

Bump actions/checkout from 4.0.0 to 4.1.0 (#381) #1046

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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
timeout-minutes: 5
with:
version: v1.51.0
generate-docs:
name: generate-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
check-latest: true
- name: Check CLI docs are up to date
run: ./hack/presubmit.sh