Skip to content

Commit

Permalink
update golangci-lint to 1.54.2
Browse files Browse the repository at this point in the history
Updated golangci-lint to 1.54.2

Signed-off-by: Nikhil-Ladha <[email protected]>
  • Loading branch information
Nikhil-Ladha committed Dec 14, 2023
1 parent 7b78fb7 commit 9e40253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ocs-operator-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9e40253

Please sign in to comment.