From e3fca5bf3d46822ab861869e8105d43da9174f4b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 08:37:24 +0100 Subject: [PATCH] deps: update golangci/golangci-lint-action action to v6.5.0 (#803) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update golangci/golangci-lint-action action to v6.5.0 * fix golangci-lint config * replace deprecated linters --------- Signed-off-by: Daniel Weiße Co-authored-by: Daniel Weiße --- .github/workflows/lint.yml | 2 +- .golangci.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3a694d3f..d8fedee2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,7 +29,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: golangci-lint - uses: golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c # v6.3.1 + uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0 with: skip-cache: true args: --timeout=30m diff --git a/.golangci.yml b/.golangci.yml index 6bb45a11..629814bc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,7 +5,8 @@ run: modules-download-mode: readonly output: - format: tab + formats: + - format: tab sort-results: true linters: @@ -21,14 +22,14 @@ linters: # Additional linters - bodyclose - errname - - exportloopref + - copyloopvar - godot - gofmt - gofumpt - misspell - noctx - revive - - tenv + - usetesting - unconvert - unparam