Skip to content

Run golangci-lint on a supported Go version#2215

Merged
jamietanna merged 1 commit intooapi-codegen:mainfrom
mromaszewicz:ci
Feb 13, 2026
Merged

Run golangci-lint on a supported Go version#2215
jamietanna merged 1 commit intooapi-codegen:mainfrom
mromaszewicz:ci

Conversation

@mromaszewicz
Copy link
Member

We only need to run lint on a single version of Go, as the output isn't Go runtime dependent, however, we need to be careful to run it in an environment where the Go runtime isn't newer than what the golangci-lint executable was built with, because it panics on some kind of version check in that case.

Resolves: #2214

We only need to run lint on a single version of Go, as the output isn't
Go runtime dependent, however, we need to be careful to run it in an
environment where the Go runtime isn't newer than what the golangci-lint
executable was built with, because it panics on some kind of version
check in that case.

Resolves: oapi-codegen#2214
@jamietanna jamietanna merged commit db8d6b5 into oapi-codegen:main Feb 13, 2026
26 checks passed
@jamietanna jamietanna added the chore Any maintenance tasks that are regular, not as important to call out in the changelog label Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Any maintenance tasks that are regular, not as important to call out in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI workflow appears to be pulling wrong version of golangci-lint

2 participants