Skip to content

Commit d2f1607

Browse files
authored
Merge pull request containerd#10188 from ktock/golangci-lint-1.58
CI: bump up golangci-lint to v1.58.0
2 parents bfdc224 + 41dc94e commit d2f1607

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- uses: ./.github/actions/install-go
3434
- uses: golangci/golangci-lint-action@v5
3535
with:
36-
version: v1.56.1
36+
version: v1.58.0
3737
skip-cache: true
3838
args: --timeout=8m
3939

.golangci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ linters:
1313
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
1414
- unconvert
1515
- unused
16-
- vet
16+
- govet
1717
- dupword # Checks for duplicate words in the source code
1818
disable:
1919
- errcheck
@@ -76,12 +76,13 @@ linters-settings:
7676
nolintlint:
7777
allow-unused: true
7878

79-
run:
80-
timeout: 8m
81-
skip-dirs:
79+
exclude-dirs:
8280
- api
8381
- cluster
8482
- docs
8583
- docs/man
8684
- releases
8785
- test # e2e scripts
86+
87+
run:
88+
timeout: 8m

0 commit comments

Comments
 (0)