Merge pull request #10188 from ktock/golangci-lint-1.58
CI: bump up golangci-lint to v1.58.0
This commit is contained in:
commit
d2f160701a
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
- uses: ./.github/actions/install-go
|
||||
- uses: golangci/golangci-lint-action@v5
|
||||
with:
|
||||
version: v1.56.1
|
||||
version: v1.58.0
|
||||
skip-cache: true
|
||||
args: --timeout=8m
|
||||
|
||||
|
@ -13,7 +13,7 @@ linters:
|
||||
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
|
||||
- unconvert
|
||||
- unused
|
||||
- vet
|
||||
- govet
|
||||
- dupword # Checks for duplicate words in the source code
|
||||
disable:
|
||||
- errcheck
|
||||
@ -76,12 +76,13 @@ linters-settings:
|
||||
nolintlint:
|
||||
allow-unused: true
|
||||
|
||||
run:
|
||||
timeout: 8m
|
||||
skip-dirs:
|
||||
exclude-dirs:
|
||||
- api
|
||||
- cluster
|
||||
- docs
|
||||
- docs/man
|
||||
- releases
|
||||
- test # e2e scripts
|
||||
|
||||
run:
|
||||
timeout: 8m
|
||||
|
Loading…
Reference in New Issue
Block a user