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

Golangci deprecations and update using tools pattern #3610

Merged
merged 4 commits into from May 8, 2024

Conversation

zalegrala
Copy link
Contributor

@zalegrala zalegrala commented Apr 25, 2024

What this PR does:

Here we move golangci to the tools pattern to execute in docker. Users can now run make lint with the same version of golangci.

  • add golangci to tools/
  • update the golangci version
  • handle some deprecations in the golangci config

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@zalegrala zalegrala force-pushed the golangciDeprecationsAndUpdate branch from 2e54b32 to 14379fb Compare April 25, 2024 17:30
@zalegrala zalegrala changed the title Golangci deprecations and update Golangci deprecations and update using tools pattern Apr 25, 2024
@zalegrala
Copy link
Contributor Author

I have a follow up commit ready to update CI. Once the new image has been published, then we can use make lint in github actions.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Love how clean this addition is. Nice work!

@zalegrala zalegrala force-pushed the golangciDeprecationsAndUpdate branch from e38c313 to 12d0856 Compare May 8, 2024 17:26
@zalegrala zalegrala merged commit b76ab98 into grafana:main May 8, 2024
14 checks passed
@zalegrala zalegrala deleted the golangciDeprecationsAndUpdate branch May 8, 2024 20:56
zalegrala added a commit to zalegrala/tempo that referenced this pull request May 14, 2024
* Breadcrumbs for golangci

* Include golangci in tools

* Use tools image for lint make target

* Update changelog

(cherry picked from commit b76ab98)
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.

None yet

2 participants