Skip to content

Conversation

@x86taka
Copy link
Collaborator

@x86taka x86taka commented Aug 22, 2025

This pull request updates the configuration and usage of golangci-lint to the latest major version and restructures the linting settings for improved maintainability and compatibility. The most significant changes are the upgrade to golangci-lint v8, changes to the configuration syntax in .golangci.yml, and an updated installation command for the linter.

golangci-lint upgrade and configuration changes:

  • Upgraded the GitHub Action for golangci-lint from v6 to v8 in .github/workflows/lint_and_test.yaml, ensuring compatibility with the latest linter features and improvements.
  • Updated the installation path for golangci-lint in scripts/install-go-tools.sh to use the new v2 module path, aligning with upstream changes.

Linting configuration restructuring:

  • Refactored .golangci.yml to use the new version 2 syntax, reorganized linter settings, exclusions, and formatter configurations for better clarity and maintainability. This includes moving gofumpt and goimports under formatters, updating exclusion rules, and streamlining linter settings.

@x86taka x86taka merged commit a32e823 into master Aug 22, 2025
2 checks passed
@x86taka x86taka deleted the fix/golangci-linter branch August 22, 2025 13:50
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