Skip to content
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

Set golangci-lint to 1.54.2 (latest is broken) #1046

Merged
merged 2 commits into from Apr 16, 2024

Conversation

rockdaboot
Copy link
Contributor

Hopefully a temporary fix for the linter, as 1.56.2 (latest) seems to be broken.

Copy link
Member

@dhui dhui left a comment

Choose a reason for hiding this comment

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

with:
version: latest
version: v1.54.2
Copy link
Member

Choose a reason for hiding this comment

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

Why 1.54.2 instead of 1.57.1 which is the latest version. Per their docs, pinning the version is a good idea for reproducibility.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The latest version as of submitting this PR (two weeks ago) was 1.56.2 which was known to be broken (e.g. the CI of migrate failed).
I am happy to test 1.57.1 when back at my dev machine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks good, reverted to "latest". So this PR currently boils down to increasing the golangci-lint-action to v4. Feel free to merge or close :)

@dhui
Copy link
Member

dhui commented Apr 16, 2024

@rockdaboot Thanks for the fix!

@dhui dhui merged commit 1a002d0 into golang-migrate:master Apr 16, 2024
3 of 5 checks passed
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.

None yet

2 participants