Skip to content

fix(cicd): Replace deprecated golangci config #628

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

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

deadlycoconuts
Copy link
Contributor

Description

This PR simply removes a deprecated config field in the golangci config file and replaces it with its replacement. See this CICD run for an example of a failed run: https://github.com/caraml-dev/merlin/actions/runs/13383384346/job/37376991624#step:4:35. Previously using the old config would only emit warnings but now they have become explicit errors. See this PR from golangci for more details golangci/golangci-lint#4509.

Modifications

  • api/.golangci.yml - Replace deprecated configs

Tests

Checklist

  • Added PR label
  • Added unit test, integration, and/or e2e tests
  • Tested locally
  • Updated documentation
  • Update Swagger spec if the PR introduce API changes
  • Regenerated Golang and Python client if the PR introduces API changes

Release Notes

NONE

@deadlycoconuts deadlycoconuts added the bug Something isn't working label Feb 18, 2025
@deadlycoconuts deadlycoconuts self-assigned this Feb 18, 2025
@deadlycoconuts deadlycoconuts marked this pull request as ready for review February 18, 2025 05:36
Copy link
Contributor

@bthari bthari left a comment

Choose a reason for hiding this comment

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

Thank you for spotting and fixing this, LGTM! 🚀

@deadlycoconuts
Copy link
Contributor Author

Thanks for the quick review! Merging this now!

@deadlycoconuts deadlycoconuts merged commit e272314 into main Feb 18, 2025
34 checks passed
@deadlycoconuts deadlycoconuts deleted the fix_golang_ci_config branch February 18, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants