Skip to content

[8.18] (backport #7661) Update golangci-lint to v2.0.2 #7890

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 2 commits into from
Apr 18, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 17, 2025

What does this PR do?

This PR updates golangci-lint to v2.0.2. The configuration file, .golangci.yml and the GitHub action are all updated to use the same golangci-lint version.

Why is it important?

It updates our lint version

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

This is an automatic backport of pull request #7661 done by [Mergify](https://mergify.com).

(cherry picked from commit 194c211)

# Conflicts:
#	.github/workflows/golangci-lint.yml
#	.golangci.yml
@mergify mergify bot requested a review from a team as a code owner April 17, 2025 10:30
@mergify mergify bot added the backport label Apr 17, 2025
@mergify mergify bot requested a review from a team as a code owner April 17, 2025 10:30
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Apr 17, 2025
@mergify mergify bot requested review from michalpristas and blakerouse and removed request for a team April 17, 2025 10:30
Copy link
Contributor Author

mergify bot commented Apr 17, 2025

Cherry-pick of 194c211 has failed:

On branch mergify/bp/8.18/pr-7661
Your branch is up to date with 'origin/8.18'.

You are currently cherry-picking commit 194c211ac.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .github/workflows/golangci-lint.yml
	both modified:   .golangci.yml

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot mentioned this pull request Apr 17, 2025
8 tasks
@github-actions github-actions bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog labels Apr 17, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

cc @belimawr

@belimawr belimawr merged commit 48fab97 into 8.18 Apr 18, 2025
9 checks passed
@belimawr belimawr deleted the mergify/bp/8.18/pr-7661 branch April 18, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants