diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 2e168fe6..c6f11f3c 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -19,7 +19,7 @@ jobs: - name: Run linters uses: golangci/golangci-lint-action@v2 with: - version: v1.48 + version: v1.49.0 tests: needs: diff --git a/.golangci.yml b/.golangci.yml index db948573..902b6cec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,7 +2,6 @@ linters: disable-all: true enable: - bodyclose - - deadcode - errcheck - gofmt - goimports @@ -13,11 +12,9 @@ linters: - misspell - prealloc - staticcheck - - structcheck - typecheck - unconvert - unused - - varcheck run: deadline: 5m diff --git a/Makefile b/Makefile index e0507952..4b630d6b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ GOTENBERG_USER_GID=1001 GOTENBERG_USER_UID=1001 NOTO_COLOR_EMOJI_VERSION=v2.034 # See https://github.com/googlefonts/noto-emoji/releases. PDFTK_VERSION=v3.3.2 # See https://gitlab.com/pdftk-java/pdftk/-/releases - Binary package. -GOLANGCI_LINT_VERSION=v1.48.0 # See https://github.com/golangci/golangci-lint/releases. +GOLANGCI_LINT_VERSION=v1.49.0 # See https://github.com/golangci/golangci-lint/releases. .PHONY: build build: ## Build the Gotenberg's Docker image