Skip to content

chore: update golangci-lint from v1.64.8 to v2.3.0#58

Merged
rokuosan merged 3 commits intomainfrom
update-golangci-lint-v2
Jul 26, 2025
Merged

chore: update golangci-lint from v1.64.8 to v2.3.0#58
rokuosan merged 3 commits intomainfrom
update-golangci-lint-v2

Conversation

@rokuosan
Copy link
Copy Markdown
Owner

@rokuosan rokuosan commented Jul 26, 2025

Summary

  • Update golangci-lint from v1.64.8 to v2.3.0
  • Migrate configuration file to v2 format
  • Fix linting issues detected by the new version

Changes

  • Update golangci-lint version in GitHub Actions workflow
  • Update golangci-lint-action from v6.5.2 to v8.0.0 for v2 compatibility
  • Migrate .golangci.yaml to v2 format using golangci-lint migrate command
  • Replace strings.Replace with strings.ReplaceAll (staticcheck QF1004)
  • Remove redundant type declaration in test file (staticcheck ST1023)

Test plan

  • Verify lint checks pass with golangci-lint v2.3.0
  • Verify all tests pass (go test -v ./...)

@rokuosan rokuosan force-pushed the update-golangci-lint-v2 branch from d4097f6 to f77ea1b Compare July 26, 2025 12:48
- Upgrade golangci-lint version in GitHub Actions workflow
- Update golangci-lint-action from v6.5.2 to v8.0.0 (compatible with golangci-lint v2)
- Migrate .golangci.yaml configuration to v2 format
- Add GitHub Actions output format configuration
- Fix linting issues detected by the new version (strings.Replace -> strings.ReplaceAll)
- Remove redundant type declaration in test file
@rokuosan rokuosan force-pushed the update-golangci-lint-v2 branch from f77ea1b to c793737 Compare July 26, 2025 13:23
@rokuosan rokuosan self-assigned this Jul 26, 2025
@rokuosan rokuosan merged commit dfb583f into main Jul 26, 2025
3 checks passed
@rokuosan rokuosan deleted the update-golangci-lint-v2 branch July 26, 2025 14:15
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