From 0ce0af11a105b1e8badfce2b7284a70f8c681151 Mon Sep 17 00:00:00 2001 From: Alexandre Lamarre Date: Tue, 31 Dec 2024 12:09:54 -0500 Subject: [PATCH] update golangci-lint Signed-off-by: Alexandre Lamarre --- .github/workflows/lint.yaml | 2 +- .golangci.json | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 537a518a..d4deb4e0 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -37,4 +37,4 @@ jobs: # Require: The version of golangci-lint to use. # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version. # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit. - version: v1.56 \ No newline at end of file + version: v1.62 \ No newline at end of file diff --git a/.golangci.json b/.golangci.json index 6fab68ca..b32f2894 100644 --- a/.golangci.json +++ b/.golangci.json @@ -11,17 +11,17 @@ ] }, "run": { - "deadline": "5m" + "timeout": "5m" }, - "issues": { - "exclude-rules": [ - { - "linters": "revive", - "text": "should have comment or be unexported" - } - ], + "issues": { + "exclude-rules": [ + { + "linters": "revive", + "text": "should have comment or be unexported" + } + ], "exclude-files": [ "/zz_generated_*" ] - } -} + } +} \ No newline at end of file