From 5d7fd6621ea2b91e0813092ff072dfb2bf01a5b4 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Wed, 12 Feb 2025 12:58:46 +0100 Subject: [PATCH] chore: update linter (#2434) --- .github/workflows/pr.yml | 2 +- .golangci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a8f2ff452..4381c7fbd 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest env: GO_VERSION: stable - GOLANGCI_LINT_VERSION: v1.63.3 + GOLANGCI_LINT_VERSION: v1.64.2 HUGO_VERSION: 0.131.0 CGO_ENABLED: 0 LEGO_E2E_TESTS: CI diff --git a/.golangci.yml b/.golangci.yml index 9beeea718..2a3868ff4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -35,7 +35,6 @@ linters: - nonamedreturns - musttag # false-positive https://github.com/junk1tm/musttag/issues/17 - gosmopolitan # not relevant - - exportloopref # Useless with go1.22 - canonicalheader # Can create side effects in the context of API clients - usestdlibvars # false-positive https://github.com/sashamelentyev/usestdlibvars/issues/96 @@ -138,6 +137,7 @@ linters-settings: run: timeout: 10m + relative-path-mode: cfg output: show-stats: true