-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use golangci-lint #42
Use golangci-lint #42
Conversation
/assign @adambkaplan |
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.
Correcting the repository name and adding the timeout like in the CLI.
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.
@vancanhuit golintci-lint ran. A few findings to be fixed.
Do we need to temporarily disable some rules to make it pass? |
I'd say no. None of the findings sounds complicated to be addressed. Let us know if you find one where you need help. |
Is there an environmental issue in the |
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.
@vancanhuit I also noticed that you used a merge commit to bring in changes from main. If possible, can you try rebasing instead?
Yes, I will try. |
@vancanhuit this PR is failing tests for the same reason I outlined in #41 (comment). Unfortunately you are stuck until #52 merges (and you will need to rebase afterwards 😿). |
@vancanhuit #52 has now merged. Please rebase this pull request on top of the current |
@adambkaplan I rebased this PR. Please check if it is ok. The same with #41. |
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
Looks good to merge. Ideally we have a make target that lets contributors run this locally - we can follow up in a separate pull request.
Verify failed:
|
CI now is green @adambkaplan 👍 |
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
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan 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 |
Changes
Closes #35
Submitter Checklist
See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes