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

chore: bump golangci-lint to v1.57 #41

Merged
merged 3 commits into from Mar 26, 2024

Conversation

tri-adam
Copy link
Member

@tri-adam tri-adam commented Mar 21, 2024

Bump golangci-lint to v1.57. Add copyloopvar and intrange, which won't come into play until this module adopts Go 1.22 but play nicely with Go 1.21. Drop loop variable usage in (non-parallel) tests, which is safe for Go 1.21 and should ensure copyloopvar linter will run cleanly when Go 1.22 is adopted.

Add patch version to go directive in go.mod (see golang/go#62278).

@tri-adam tri-adam self-assigned this Mar 21, 2024
Enable copyloopvar and intrange linters. They won't activate until the
module adopts Go 1.22, but run cleanly at the moment.
.golangci.yml Show resolved Hide resolved
@tri-adam tri-adam marked this pull request as ready for review March 26, 2024 17:13
@tri-adam tri-adam merged commit 72e7e9c into sylabs:main Mar 26, 2024
10 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