Bump github.com/cloudflare/cfssl from 1.6.4 to 1.6.5 #1196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go lint | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
paths-ignore: | |
- 'docs/**' | |
- 'examples/**' | |
- '**.md' | |
- '**.svg' | |
- '.github/workflows/publish-docs.yml' | |
- 'mkdocs.yml' | |
pull_request: | |
branches: | |
- main | |
- release-* | |
paths-ignore: | |
- 'docs/**' | |
- 'examples/**' | |
- '**.md' | |
- '**.svg' | |
- '.github/workflows/publish-docs.yml' | |
- 'mkdocs.yml' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21.1' | |
- name: Go caches | |
uses: actions/cache@v4 | |
with: | |
key: ${{ runner.os }}-lint-go-caches-${{ hashFiles('go.sum') }} | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
~/.cache/golangci-lint | |
- name: Check generated code to be consistent | |
run: make generate manifests clusterapi-manifests docs-generate-reference && git diff --exit-code | |
- name: Run linter | |
env: | |
GOLANGCI_LINT_FLAGS: --out-format=github-actions | |
run: | | |
make lint |