build: include golangci-lint as project tool#502
Conversation
zimeg
left a comment
There was a problem hiding this comment.
🛠️ A comment for the kind readers!
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) | ||
|
|
||
| tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint |
There was a problem hiding this comment.
🧰 note: The dependencies added above are numerous but indirect toward this package and won't add to our bundle size!
There was a problem hiding this comment.
A small price to pay for a pinned golangci-lint 🙇🏻
I'm curious what snyk will think of all the new indirect dependencies. 😛
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #502 +/- ##
==========================================
- Coverage 71.17% 71.16% -0.02%
==========================================
Files 222 222
Lines 18684 18684
==========================================
- Hits 13299 13297 -2
- Misses 4203 4205 +2
Partials 1182 1182 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| gopkg.in/yaml.v3 v3.0.1 // indirect | ||
| ) | ||
|
|
||
| tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint |
There was a problem hiding this comment.
A small price to pay for a pinned golangci-lint 🙇🏻
I'm curious what snyk will think of all the new indirect dependencies. 😛
|
@mwbrooks Thanks so much for the review 🎁 I'm hoping we'll have better insights into vulnerabilities while also having confidence in the exact versions we're using with this so I'll merge now 🚢 💨 |
Changelog
Summary
This PR adds the
golangci-linttool to the project tools for confidence in versioning in CI and onboarding to the project 📠Preview
Testing
Reviewers might uninstall
golangci-lintand checkout this branch before build:Notes
Requirements