Skip to content

ci: Use golangci-lint#406

Merged
JacobOaks merged 1 commit intouber-go:masterfrom
abhinav:golangci-lint
Feb 13, 2024
Merged

ci: Use golangci-lint#406
JacobOaks merged 1 commit intouber-go:masterfrom
abhinav:golangci-lint

Conversation

@abhinav
Copy link
Collaborator

@abhinav abhinav commented Feb 11, 2024

This PR switches to using golangci-lint to run linters.
staticcheck is included and enabled by default.
We add revive and a few others.
All issues reported by the linters have been fixed.

This also allows the linter to run in parallel with the tests.

License header check has also been moved to golangci-lint,
similarly to uber-go/fx#1157.

Refs uber-go/fx#1150
Refs uber-go/zap#1323

This PR switches to using golangci-lint to run linters.
staticcheck is included and enabled by default.
We add revive and a few others.
All issues reported by the linters have been fixed.

This also allows the linter to run in parallel with the tests.

License header check has also been moved to golangci-lint,
similarly to uber-go/fx#1157.

Refs uber-go/fx#1150
Refs uber-go/zap#1323
@codecov
Copy link

codecov bot commented Feb 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (612c6c0) 98.40% compared to head (7542542) 98.40%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #406   +/-   ##
=======================================
  Coverage   98.40%   98.40%           
=======================================
  Files          22       22           
  Lines        1507     1507           
=======================================
  Hits         1483     1483           
  Misses         15       15           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@JacobOaks JacobOaks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Abhinav!

@JacobOaks JacobOaks merged commit 59e9f76 into uber-go:master Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants