Skip to content

Commit 9d69bb2

Browse files
authored
Merge pull request #136 from github/dependabot/github_actions/golangci/golangci-lint-action-7
Bump golangci/golangci-lint-action from 6 to 7
2 parents e979378 + 38015e2 commit 9d69bb2

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ jobs:
7777
exit 1
7878
fi
7979
- name: Lint
80-
uses: golangci/golangci-lint-action@v6
80+
uses: golangci/golangci-lint-action@v7
8181
with:
82-
version: v1.29
82+
version: v2.1.6
8383

8484
licensedci:
8585
name: Check Licenses

.golangci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
1+
version: "2"
12
linters:
2-
disable-all: true
3+
default: none
4+
exclusions:
5+
generated: lax
6+
presets:
7+
- comments
8+
- common-false-positives
9+
- legacy
10+
- std-error-handling
11+
paths:
12+
- third_party$
13+
- builtin$
14+
- examples$
15+
formatters:
316
enable:
417
- goimports
18+
exclusions:
19+
generated: lax
20+
paths:
21+
- third_party$
22+
- builtin$
23+
- examples$

0 commit comments

Comments
 (0)