Skip to content

Upgrade golangci-lint to 2.1.5 #986

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
May 3, 2025
Merged

Conversation

sashabaranov
Copy link
Owner

@sashabaranov sashabaranov commented May 3, 2025

@sashabaranov sashabaranov requested a review from Copilot May 3, 2025 21:38
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades golangci-lint to version 2.1.5 by updating the lint configuration file and the GitHub Actions workflow. Key changes include a full rewrite of the .golangci.yml configuration to the new version 2 schema with explicitly enabled linters and updated exclusion rules, and updating the golangci-lint GitHub Action in the CI workflow from v6 to v7 with the corresponding version parameter.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.golangci.yml Rewritten linter configuration using the updated schema and rules.
.github/workflows/pr.yml Upgraded golangci-lint-action action and version parameter for linting.

@sashabaranov sashabaranov merged commit 77ccac8 into master May 3, 2025
5 checks passed
@sashabaranov sashabaranov deleted the sashabaranov/upgrade-linter branch May 3, 2025 21:39
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.

1 participant