From c887dc1ec8c1460c8b4085270de13213315e965f Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Wed, 31 Aug 2022 20:04:19 +0200 Subject: [PATCH] chore: upgrade golangci-lint to version from version 1.48 to 1.49 --- .github/workflows/continuous_integration.yml | 2 +- .golangci.yml | 3 --- Makefile | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) 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