Skip to content

Golangci deprecations and update using tools pattern#3610

Merged
zalegrala merged 4 commits intografana:mainfrom
zalegrala:golangciDeprecationsAndUpdate
May 8, 2024
Merged

Golangci deprecations and update using tools pattern#3610
zalegrala merged 4 commits intografana:mainfrom
zalegrala:golangciDeprecationsAndUpdate

Conversation

@zalegrala
Copy link
Copy Markdown
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
Copy Markdown
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.

@zalegrala zalegrala marked this pull request as ready for review April 25, 2024 17:46
Copy link
Copy Markdown
Collaborator

@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
@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.

2 participants