-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
✨ add golangci integration to the default scaffold #3600
Conversation
959a457
to
438443e
Compare
/test pull-kubebuilder-e2e-k8s-1-26-0 |
438443e
to
78226ae
Compare
/test pull-kubebuilder-e2e-k8s-1-27-1 |
78226ae
to
2016037
Compare
/hold Let's discuss if we should add in the default scaffold or create a new plugin |
2016037
to
46ea676
Compare
/hold cancel good to fly |
/test pull-kubebuilder-e2e-k8s-1-26-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.
Just one change of making the version a global variable, so that its easier to change and track. Rest looks good.
/lgtm
/approve
golangci-lint: | ||
@[ -f $(GOLANGCI_LINT) ] || { \ | ||
set -e ;\ | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.54.2 ;\ |
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.
Can we make the version global variable? So that it can be changed anytime if needed.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, varshaprasad96 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Looks good to me.
Description
add golangci integration to the default scaffold
Closes: #3216
Closes: #3119