mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
chore(deps): update linter to v2.1.x
This commit is contained in:
parent
923a6d95c0
commit
b12e3e8155
6
.github/workflows/lint.yaml
vendored
6
.github/workflows/lint.yaml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
files: '.'
|
||||
config_file: ".markdownlint.json"
|
||||
|
||||
- name: Set up Go 1.x
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
@ -44,11 +44,11 @@ jobs:
|
||||
|
||||
# https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#verify
|
||||
- name: Verify linter configuration and Lint go code
|
||||
uses: golangci/golangci-lint-action@v7
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
verify: true
|
||||
args: --timeout=30m
|
||||
version: v2.0
|
||||
version: v2.1
|
||||
|
||||
# Run Spectral
|
||||
- name: Lint OpenAPI spec
|
||||
|
@ -17,7 +17,7 @@
|
||||
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
|
||||
CONTROLLER_TOOLS_GENERATOR_VERSION=v0.17.2
|
||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||
GOLANG_CI_LINTER_VERSION=v2.0.2
|
||||
GOLANG_CI_LINTER_VERSION=v2.1.6
|
||||
|
||||
# Execute
|
||||
# scripts/install-tools.sh
|
||||
|
Loading…
Reference in New Issue
Block a user