Skip to content

Bump golangci-lint to v2 #904

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 3 commits into from
Jun 16, 2025
Merged

Bump golangci-lint to v2 #904

merged 3 commits into from
Jun 16, 2025

Conversation

andrew-farries
Copy link
Collaborator

Bump golangci-lint to v2.

Required rewriting .golangci.yml which was automated with golangci-lint migrate [docs].

Fix one linter issue that was uncovered by the upgrade.

Used `golangci-lint migrate` to convert the configuration file to the
new format.
@github-actions github-actions bot temporarily deployed to Docs Preview June 13, 2025 14:52 Inactive
Copy link

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ 🤖
github.com/xataio/pgroll/pkg/sql2pgroll 88.96% (-0.05%) 👎

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/xataio/pgroll/pkg/sql2pgroll/create_index.go 87.10% (-0.40%) 62 (-2) 54 (-2) 8 👎

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@andrew-farries andrew-farries marked this pull request as ready for review June 13, 2025 14:59
@andrew-farries andrew-farries requested a review from kvch June 13, 2025 14:59
@andrew-farries andrew-farries merged commit 68b779b into main Jun 16, 2025
30 checks passed
@andrew-farries andrew-farries deleted the bump-golangci-lint-to-v2 branch June 16, 2025 05:05
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