uber-go / fx

A dependency injection based application framework for Go.
https://uber-go.github.io/fx/
MIT License
5.48k stars 283 forks source link

Fix golangci-lint installation step in CI #1185

Closed JacobOaks closed 3 months ago

JacobOaks commented 3 months ago

Following https://github.com/uber-go/zap/pull/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)

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (master@e44b89c). Click here to learn what that means.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1185 +/- ## ========================================= Coverage ? 98.73% ========================================= Files ? 31 Lines ? 2851 Branches ? 0 ========================================= Hits ? 2815 Misses ? 29 Partials ? 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.