Skip to content

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

@mromaszewicz

Description

@mromaszewicz

Have a look at this CI failure:
https://github.com/oapi-codegen/oapi-codegen/actions/runs/21879432203/job/63258545257?pr=2211

The issue is that a Go 1.26 runtime is running a Go 1.25 linter, and there's a panic due to Golang and linter version mismatch. Funny thing is, previous CI runs on different PR's succeeded ok.

I've retriggered this one, so it's not a transient error. Something must have changed upstream in the linter.

This is the danger of dynamically fetching dependencies, they can change. I'll dig into how we can pin ourselves to a specific version or maybe cache an artifact and only update when needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions