diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cd3c3ee..210594e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,7 +46,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.52.2 + version: v1.53.3 build-image: needs: [test-unit, lint] diff --git a/.golangci.yaml b/.golangci.yaml index e57c909..ceffbe8 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -6,7 +6,6 @@ linters: disable-all: true enable: - bodyclose - - depguard - errcheck - exportloopref - forcetypeassert @@ -30,11 +29,6 @@ linters: # all available settings for linters we enable linters-settings: - depguard: - list-type: blacklist - include-go-root: false - packages: - - github.com/davecgh/go-spew/spew errcheck: # report about not checking of errors in type assertions: `a := b.(MyStruct)`; # default is false: such cases aren't reported by default. diff --git a/Dockerfile.dev b/Dockerfile.dev index 85b353a..a65dc17 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -2,7 +2,7 @@ FROM golang:1.20.7-bookworm ARG TARGETARCH -ARG GOLANGCI_LINT_VERSION=1.52.2 +ARG GOLANGCI_LINT_VERSION=1.53.3 RUN cd /usr/local/bin \ && curl -sSfL https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-${TARGETARCH}.tar.gz \