chore: update linter

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2023-04-06 10:57:10 +02:00 committed by Márk Sági-Kazár
parent 59fe4dbc92
commit 8d1fb59230
3 changed files with 8 additions and 6 deletions

View file

@ -82,4 +82,4 @@ jobs:
- name: Lint - name: Lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v3
with: with:
version: v1.51.1 version: v1.52.2

View file

@ -16,7 +16,6 @@ linters:
disable-all: true disable-all: true
enable: enable:
- bodyclose - bodyclose
- deadcode
- dogsled - dogsled
- dupl - dupl
- durationcheck - durationcheck
@ -43,14 +42,12 @@ linters:
- rowserrcheck - rowserrcheck
- sqlclosecheck - sqlclosecheck
- staticcheck - staticcheck
- structcheck
- stylecheck - stylecheck
- tparallel - tparallel
- typecheck - typecheck
- unconvert - unconvert
- unparam - unparam
- unused - unused
- varcheck
- wastedassign - wastedassign
- whitespace - whitespace
@ -83,6 +80,11 @@ linters:
# - goheader # - goheader
# - gomodguard # - gomodguard
# deprecated
# - deadcode
# - structcheck
# - varcheck
# don't enable: # don't enable:
# - asciicheck # - asciicheck
# - funlen # - funlen

View file

@ -15,8 +15,8 @@ TEST_FORMAT = short-verbose
endif endif
# Dependency versions # Dependency versions
GOTESTSUM_VERSION = 1.8.0 GOTESTSUM_VERSION = 1.9.0
GOLANGCI_VERSION = 1.50.1 GOLANGCI_VERSION = 1.52.2
# Add the ability to override some variables # Add the ability to override some variables
# Use with care # Use with care