Skip to content
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: upgrade golangci-lint to v1.64 #1623

Closed
wants to merge 2 commits into from
Closed

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Feb 13, 2025

For some reason our linting job has started failing without any actual error message to indicate the issue - I suspect it could be related to being on Go v1.23.6, but ultimately it seems upgrading to v1.64 of the linter resolves the issue.

As this introduces two new linters that want us to take actions, I've disabled them for now so that this can be landed as-is, but I've already got the patches for addressing their violations ready to go as dedicated PRs (of which #1620 is one)

@cuixq
Copy link
Contributor

cuixq commented Feb 13, 2025

Updating the linter fails because of the outdated snapshots, and updating the snapshots fails because of the linter. 🤦

@cuixq
Copy link
Contributor

cuixq commented Feb 13, 2025

@G-Rath can you patch the snapshot updates in this PR so that they can get merged together?

cuixq added a commit that referenced this pull request Feb 14, 2025
At least this time it's a different snapshot 🤷 

Patch #1623 so that workflows
all pass

---------

Co-authored-by: Xueqin Cui <[email protected]>
@cuixq cuixq closed this Feb 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.14%. Comparing base (2d4eda5) to head (c19ed8d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1623      +/-   ##
==========================================
+ Coverage   68.98%   69.14%   +0.15%     
==========================================
  Files         200      200              
  Lines       19069    19069              
==========================================
+ Hits        13155    13185      +30     
+ Misses       5203     5177      -26     
+ Partials      711      707       -4     

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

@G-Rath G-Rath deleted the lint/upgrade branch February 16, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants