Skip to content

Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 (#505) #1485

Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 (#505)

Bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 (#505) #1485

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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- 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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- 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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- 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