Skip to content

Commit 87a9d4a

Browse files
dependabot[bot]leokondrashov
authored andcommitted
Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.5.0 to 7.0.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v6.5.0...v7.0.0) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Leonid Kondrashov <[email protected]>
1 parent 02a0f68 commit 87a9d4a

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
go-version: ${{ matrix.go }}
4343

4444
- name: Check code
45-
uses: golangci/golangci-lint-action@v6.5.0
45+
uses: golangci/golangci-lint-action@v7.0.0
4646
with:
4747
args: --timeout 5m
48+
version: v2
4849

4950
- name: Get dependencies
5051
run: |

.golangci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
version: "2"
12
linters:
3+
exclusions:
4+
generated: lax
5+
presets:
6+
- comments
7+
- common-false-positives
8+
- legacy
9+
- std-error-handling
10+
paths:
11+
- third_party$
12+
- builtin$
13+
- examples$
14+
formatters:
215
enable:
316
- gofmt
17+
exclusions:
18+
generated: lax
19+
paths:
20+
- third_party$
21+
- builtin$
22+
- examples$

0 commit comments

Comments
 (0)