-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump the golangci-lint version in the api server makefile #1342
Conversation
@blublinsky, @tedhtchang, @scarlet25151 and @anishasthana, cc: @kevin85421 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, hardcoding the version is a bit of concern
@@ -122,7 +122,7 @@ KIND ?= $(REPO_ROOT_BIN)/kind | |||
KUSTOMIZE_VERSION ?= v3.8.7 | |||
GOFUMPT_VERSION ?= v0.3.1 | |||
GOIMPORTS_VERSION ?= latest | |||
GOLANGCI_LINT_VERSION ?= v1.50.1 | |||
GOLANGCI_LINT_VERSION ?= v1.54.1 | |||
KIND_VERSION ?= v0.19.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have to put here a specific version? Can we just use the latest? Or figure out the version based on the go version? I am a bit concerned with the maintenance of updating the version constantly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I think we should pin the version as it will give us consistent builds. The maintenance is small price to pay.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed that we should pin the verison
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
cc @kevin85421
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…t#1342) Bump the golangci-lint version in the api server makefile
…t#1342) Bump the golangci-lint version in the api server makefile
…t#1342) Bump the golangci-lint version in the api server makefile
Why are these changes needed?
The version of
golangci-lint
used in the KubeRay api server hangs when used with higher versions of golang (1.20+). This is related to this issueRelated issue number
Closes #1334
Checks