diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index dcc04732e..dd20daf56 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -7,7 +7,7 @@ on: env: GO_VERSION: '1.23' - GOLANGCI_LINT_VERSION: v1.63.3 + GOLANGCI_LINT_VERSION: v1.64.2 MISSPELL_VERSION: v0.6.0 jobs: diff --git a/.golangci.yml b/.golangci.yml index 772583dac..c233d4c19 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,6 @@ run: timeout: 10m + relative-path-mode: cfg linters-settings: govet: @@ -162,6 +163,7 @@ linters-settings: linters: enable-all: true disable: + - tenv # Deprecated - sqlclosecheck # not relevant (SQL) - rowserrcheck # not relevant (SQL) - cyclop # duplicate of gocyclo @@ -198,7 +200,6 @@ linters: - maintidx # kind of duplicate of gocyclo - nonamedreturns # Too strict - gosmopolitan # not relevant - - exportloopref # Not relevant since go1.22 issues: exclude-use-default: false