From 85bdfa22d44b397b88a11808148c5e7618f287b7 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Fri, 16 Feb 2024 19:58:28 +1000 Subject: [PATCH] Bump golangci-lint version Signed-off-by: Brendan Shephard --- .ci-operator.yaml | 2 +- .golangci.yaml | 7 ------- .pre-commit-config.yaml | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.ci-operator.yaml b/.ci-operator.yaml index 810dbb51..8283f5e6 100644 --- a/.ci-operator.yaml +++ b/.ci-operator.yaml @@ -1,4 +1,4 @@ build_root_image: name: tools namespace: openstack-k8s-operators - tag: ci-build-root-golang-1.21-sdk-1.31 + tag: ci-build-root-golang-1.20-sdk-1.31 diff --git a/.golangci.yaml b/.golangci.yaml index 5ed88ce7..937a37ea 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -7,12 +7,5 @@ linters: - ginkgolinter - gofmt - govet -linters-settings: - revive: - rules: - # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter - - name: unused-parameter - severity: warning - disabled: true run: timeout: 5m diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a769a1b4..4cc3ca28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: go-mod-tidy - repo: https://github.com/golangci/golangci-lint - rev: v1.52.2 + rev: v1.55.2 hooks: - id: golangci-lint args: ["-v"]