From c434d75e72c06a6b9323523ff355dbacc618e029 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Apr 2025 06:12:10 +0000 Subject: [PATCH] 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](https://github.com/golangci/golangci-lint-action/compare/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] Signed-off-by: Leonid Kondrashov --- .github/workflows/build.yml | 3 ++- .golangci.yml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61adbfcd2..810f45c68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,9 +42,10 @@ jobs: go-version: ${{ matrix.go }} - name: Check code - uses: golangci/golangci-lint-action@v6.5.0 + uses: golangci/golangci-lint-action@v7.0.0 with: args: --timeout 5m + version: v2.1 - name: Get dependencies run: | diff --git a/.golangci.yml b/.golangci.yml index 4ad9dfc3c..38445ab28 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,22 @@ +version: "2" linters: + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: enable: - gofmt + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$