ci: update golangci-lint to v2.13.2 - #852
Merged
Merged
Conversation
Code Metrics Report📊 View detailed coverage report (available for 7 days)
Details | | main (7b812c2) | #852 (32d6f19) | +/- |
|---------------------|----------------|----------------|------|
| Coverage | 74.2% | 74.2% | 0.0% |
| Files | 94 | 94 | 0 |
| Lines | 8106 | 8106 | 0 |
| Covered | 6018 | 6018 | 0 |
| Code to Test Ratio | 1:1.3 | 1:1.3 | 0.0 |
| Code | 18902 | 18902 | 0 |
| Test | 26439 | 26439 | 0 |
- | Test Execution Time | 1m34s | 1m55s | +21s |Reported by octocov |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI continues to use the Go 1.25 toolchain, where golangci-lint v2.4 still works. Developers running the repository with Go 1.27 encounter a loader panic because v2.4 was built with an older Go version and cannot analyze Go 1.27 source. golangci-lint v2.13 added Go 1.27 support while remaining compatible with the CI toolchain.
Validation
golangci-lint fmt --diff .golangci-lint run --timeout=5mmake checkgit diff --check origin/main...HEAD