-
Notifications
You must be signed in to change notification settings - Fork 386
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
Automatically install new golangci-lint binary when version is bumped #4567
Automatically install new golangci-lint binary when version is bumped #4567
Conversation
Until now, one had to manually remove the old binary for the new one to be installed. Signed-off-by: Antonin Bas <abas@vmware.com>
Codecov Report
@@ Coverage Diff @@
## main #4567 +/- ##
==========================================
+ Coverage 68.41% 68.50% +0.08%
==========================================
Files 400 400
Lines 58216 58216
==========================================
+ Hits 39829 39879 +50
+ Misses 15617 15568 -49
+ Partials 2770 2769 -1
*This pull request uses carry forward flags. Click here to find out more.
|
@@ -282,37 +286,38 @@ fmt: | |||
@echo "===> Formatting Go files <===" | |||
@gofmt -s -l -w $(GO_FILES) | |||
|
|||
.golangci-bin: | |||
$(GOLANGCI_LINT_BIN): |
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.
I suppose we also need to update the Makefile in hack/netpol?
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.
I didn't update it because it's dead code that we should remove (#1740)
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
/skip-all |
…antrea-io#4567) Until now, one had to manually remove the old binary for the new one to be installed. Signed-off-by: Antonin Bas <abas@vmware.com>
Until now, one had to manually remove the old binary for the new one to be installed.
Signed-off-by: Antonin Bas abas@vmware.com