From bea41bc097c42ed9e9ac7d0ec3c5cbd2f3451c42 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:03:09 +0200 Subject: [PATCH] update golangci-lint --- .github/workflows/lint.yml | 2 +- .golangci.yml | 2 ++ Makefile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 112ca19..f2dc3b1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - uses: golangci/golangci-lint-action@v3 with: - version: v1.56.2 + version: v1.59.1 go-mod-tidy: runs-on: ubuntu-22.04 diff --git a/.golangci.yml b/.golangci.yml index 1ac50f4..b418e77 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,9 +14,11 @@ linters: - misspell - nilerr - prealloc + - predeclared - revive - usestdlibvars - unconvert + - tenv - tparallel - wastedassign - whitespace diff --git a/Makefile b/Makefile index 3b30078..8a04aea 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASE_IMAGE = golang:1.22-alpine3.18 -LINT_IMAGE = golangci/golangci-lint:v1.56.2 +LINT_IMAGE = golangci/golangci-lint:v1.59.1 .PHONY: $(shell ls)