-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore: Update golangci-lint to v2.7.0 #3853
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
Conversation
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
a21baa5 to
44db530
Compare
gmlewis
left a comment
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, @stevehipwell and @alexandear!
LGTM.
Merging.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3853 +/- ##
=======================================
Coverage 92.46% 92.46%
=======================================
Files 199 199
Lines 14240 14240
=======================================
Hits 13167 13167
Misses 884 884
Partials 189 189 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| if before, _, ok := strings.Cut(text, "</a>"); ok { | ||
| newText := before + strings.Join(innerText, "") |
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.
stringscut may report false positives: golang/go#76687
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.
It looked correct to me, do you think it's wrong?
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.
If it breaks next time I use it, I'll revert the changes, so no big deal.
This PR fixes the currently broken
golangci-lintcustom plugin implementation (broken due to the GitHub Actions Git version). It also makes an auto-fix change that otherwise fails the linter.