From 66058fa4c789902722be094cf511020c0cd7fb0e Mon Sep 17 00:00:00 2001 From: David Son Date: Wed, 6 Nov 2024 21:59:15 +0000 Subject: [PATCH] Update golangci-lint to 1.61.0 Signed-off-by: David Son --- .github/workflows/prebuild.yml | 2 +- .golangci.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 20ffee142..40a0c7424 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -8,7 +8,7 @@ on: env: GO_VERSION: '1.22.8' - GOLANGCI_LINT_VERSION: '1.56.2' + GOLANGCI_LINT_VERSION: '1.61.0' jobs: check: diff --git a/.golangci.yml b/.golangci.yml index 5a0426ec9..d0ed8d8b1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,13 +8,18 @@ linters: - goimports - ineffassign - revive - - vet + - govet - unused - misspell disable: - errcheck issues: + exclude-dirs: + - docs + - images + - out + - script exclude-rules: - linters: - revive @@ -24,9 +29,4 @@ issues: text: "unused-parameter:" run: - deadline: 4m - skip-dirs: - - docs - - images - - out - - script + timeout: 3m