-
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
ci: Fix golangci-lint installation #1424
Conversation
Signed-off-by: junya koyama <[email protected]>
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.
Thanks for catching and fixing. I've got a minor change suggestion.
@r-hang @JacobOaks It looks like codecov token isn't set. https://github.com/uber-go/zap/actions/runs/8454727528/job/23160466933?pr=1424#step:6:48
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1424 +/- ##
=======================================
Coverage 98.69% 98.69%
=======================================
Files 53 53
Lines 2997 2997
=======================================
Hits 2958 2958
Misses 31 31
Partials 8 8 ☔ View full report in Codecov by Sentry. |
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.
Thank you!
Following uber-go/zap#1424 as an example, fix CI to use `--help` flag since `--version` is no longer accepted. (example issue: https://github.com/uber-go/fx/actions/runs/8469190208/job/23203935028?pr=1182)
Following uber-go/zap#1424 as an example, fix CI to use `--help` flag since `--version` is no longer accepted. (example issue: https://github.com/uber-go/fx/actions/runs/8469190208/job/23203935028?pr=1182)
Following uber-go/zap#1424 and uber-go/fx#1185 as examples. `--version` is no longer accepted. Use `--help` instead.
golangci-lint run
no longer accepts--version
,so the hack we employ to install it using the official action
no longer works.
This replaces the flag with
--help
, and fixes broken CI.Resolves #1423