From 63fbcda06325585951f3b24bef534c4e00de9389 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Wed, 3 Jan 2024 21:12:31 +0100 Subject: [PATCH] update golangci-lint (#60) --- .github/workflows/lint.yml | 2 +- .golangci.yml | 4 ++++ Makefile | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 676456a..e61791f 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.55.0 + version: v1.55.2 go-mod-tidy: runs-on: ubuntu-20.04 diff --git a/.golangci.yml b/.golangci.yml index 593d6b2..d2c9384 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,10 @@ linters: enable: + - asciicheck + - bidichk - bodyclose - dupl + - errorlint - exportloopref - gochecknoinits - gocritic @@ -13,6 +16,7 @@ linters: - prealloc - revive - unconvert + - tparallel - wastedassign - whitespace diff --git a/Makefile b/Makefile index 431eee9..961119e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASE_IMAGE = golang:1.21-alpine3.18 -LINT_IMAGE = golangci/golangci-lint:v1.55.0 +LINT_IMAGE = golangci/golangci-lint:v1.55.2 .PHONY: $(shell ls)