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