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

rpk: bump golangci lint to 1.49.0 #6341

Merged
merged 2 commits into from
Sep 14, 2022
Merged

Conversation

r-vasquez
Copy link
Contributor

@r-vasquez r-vasquez commented Sep 8, 2022

Cover letter

Bumping golangci-lint to 1.49.0.

This includes some changes in comments formats. We are also including a timeout of 5m for the github CI action.

Backport Required

  • not a bug fix
  • issue does not exist in previous branches
  • papercut/not impactful enough to backport
  • v22.2.x
  • v22.1.x
  • v21.11.x

UX changes

  • none

Release notes

  • none

@r-vasquez r-vasquez marked this pull request as ready for review September 8, 2022 21:25
@r-vasquez r-vasquez requested review from twmb, 0x5d and a team as code owners September 8, 2022 21:25
@r-vasquez r-vasquez requested review from rishabh96b and removed request for a team September 8, 2022 21:25
twmb
twmb previously approved these changes Sep 8, 2022
@@ -26,10 +26,11 @@ linters-settings:
misspell:
locale: US
nolintlint:
allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

twmb
twmb previously approved these changes Sep 8, 2022
rishabh96b
rishabh96b previously approved these changes Sep 9, 2022
@r-vasquez r-vasquez dismissed stale reviews from rishabh96b and twmb via f1057a8 September 9, 2022 13:26
@r-vasquez
Copy link
Contributor Author

Got #6318 in the first k8s-operator run so I retried because I wanted to make sure that everything was ok... but now we have a new commit in dev that introduced a lint failure.

I just force-pushed the rebase + linter fix. Sorry @twmb @rishabh96b

@r-vasquez
Copy link
Contributor Author

r-vasquez commented Sep 9, 2022

BLOCKER is #6352

rishabh96b
rishabh96b previously approved these changes Sep 12, 2022
This included some changes in comments formats.
We are also including a timeout of 5m for the
github CI action.
There was a change for nolint directives:
golangci/golangci-lint#3109 (comment)

And we are adding confidence of 0.8 in revive to
avoid false positives.
@twmb twmb merged commit 2158117 into redpanda-data:dev Sep 14, 2022
@r-vasquez r-vasquez deleted the bump-golangci-lint branch September 14, 2022 15:48
@andrewhsu
Copy link
Member

/backport v22.2.x

@vbotbuildovich
Copy link
Collaborator

Failed to run cherry-pick command. I executed the below command:

git cherry-pick -x 3fd3818b00e75678163edbe559ee705d7c114937 bf5401e9ad3d724006500ac97f1b7955b4fac98c

Workflow run logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants