From 9e4025370494759accb1997c81f79f7a05451a09 Mon Sep 17 00:00:00 2001 From: Nikhil-Ladha Date: Wed, 13 Dec 2023 11:19:36 +0530 Subject: [PATCH] update golangci-lint to 1.54.2 Updated golangci-lint to 1.54.2 Signed-off-by: Nikhil-Ladha --- .github/workflows/ocs-operator-ci.yaml | 7 ++----- hack/common.sh | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ocs-operator-ci.yaml b/.github/workflows/ocs-operator-ci.yaml index 8c62a52500..05c7f9e690 100644 --- a/.github/workflows/ocs-operator-ci.yaml +++ b/.github/workflows/ocs-operator-ci.yaml @@ -37,11 +37,8 @@ jobs: - uses: golangci/golangci-lint-action@v3 with: - version: v1.51.2 - - # The weird NO_FUTURE thing is a workaround suggested here: - # # https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648 - args: "--out-${NO_FUTURE}format=colored-line-number --timeout=6m ./..." + version: v1.54.2 + args: "--out-format=colored-line-number --timeout=6m ./..." go-test: name: go test diff --git a/hack/common.sh b/hack/common.sh index 7ec1991004..9c888db6b8 100644 --- a/hack/common.sh +++ b/hack/common.sh @@ -25,7 +25,7 @@ OPERATOR_SDK="${LOCALBIN}/operator-sdk-${OPERATOR_SDK_VERSION}" OPM_VERSION="v1.28.0" OPM="${LOCALBIN}/opm-${OPM_VERSION}" GINKGO="${LOCALBIN}/ginkgo" -GOLANGCI_LINT_VERSION="v1.51.1" +GOLANGCI_LINT_VERSION="v1.54.2" GOLANGCI_LINT="${LOCALBIN}/golangci-lint" SHELLCHECK_VERSION="v0.9.0" SHELLCHECK="${LOCALBIN}/shellcheck"