-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Upgrade GolangCI-lint to v2 #10121
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
base: main
Are you sure you want to change the base?
Upgrade GolangCI-lint to v2 #10121
Conversation
barbacbd
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.
@sebrandon1 It looks like this change would definitely help (I was looking at this the other day too). First, it looks like CI tests need to be updated too
golangci-lint has version 1.64.8 built with go1.24.1 from 8b37f141 on 2025-03-17T20:41:53Z
There is a conflict that needs to be resolved.
Also can we add some of the comments back to the file.
62da86f to
ffcf677
Compare
ffcf677 to
ae49b02
Compare
The current version (1.64.8) is insufficient on all platforms to find lint errors. A PR in the openshift installer (openshift/installer#10121) will update the golangci-lint yaml file to version v2.
0c96395 to
c004395
Compare
|
golint failure is expected until openshift/release#72011 merges |
The current version (1.64.8) is insufficient on all platforms to find lint errors. A PR in the openshift installer (openshift/installer#10121) will update the golangci-lint yaml file to version v2.
barbacbd
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.
/approve
Waiting to see the way forward but this PR looks good.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: barbacbd The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
background: We are going to move the changes for golangci-lint v2 config to a new file. Let this merge and set a specific path in CI. Then when everything is all working we can go back over and rename/move things. |
c004395 to
e1a2701
Compare
e1a2701 to
4a75423
Compare
|
@sebrandon1: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Tracking: redhat-best-practices-for-k8s/telco-bot#49
Attempting to upgrade the golangci.yml to v2.