chore(deps): upgrade golangci [EE-5685] (#10413)

pull/10463/head
Chaim Lev-Ari 2023-10-05 10:31:48 +03:00 committed by GitHub
parent c43f771a88
commit 1ed2c8b346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View File

@ -41,6 +41,6 @@ jobs:
- name: GolangCI-Lint - name: GolangCI-Lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.52.2 version: v1.54.1
working-directory: api working-directory: api
args: --timeout=10m -c .golangci.yaml args: --timeout=10m -c .golangci.yaml

View File

@ -10,17 +10,17 @@ linters:
- exportloopref - exportloopref
linters-settings: linters-settings:
depguard: depguard:
list-type: denylist rules:
include-go-root: true main:
packages: deny:
- github.com/sirupsen/logrus - pkg: 'github.com/sirupsen/logrus'
- golang.org/x/exp desc: 'logging is allowed only by github.com/rs/zerolog'
packages-with-error-message: - pkg: 'golang.org/x/exp'
- github.com/sirupsen/logrus: 'logging is allowed only by github.com/rs/zerolog' desc: 'exp is not allowed'
ignore-file-rules: files:
- '**/*_test.go' - '!**/*_test.go'
- '**/base.go' - '!**/base.go'
- '**/base_tx.go' - '!**/base_tx.go'
# errorlint is causing a typecheck error for some reason. The go compiler will report these # errorlint is causing a typecheck error for some reason. The go compiler will report these
# anyway, so ignore them from the linter # anyway, so ignore them from the linter