Skip to content

Add support for go tool golangci-lint #1206

@Neokil

Description

@Neokil

Welcome

  • Yes, I understand that the GitHub action repository is not the repository of golangci-lint itself.
  • Yes, I've searched similar issues on GitHub and didn't find any.

Your feature request related to a problem? Please describe.

Go 1.24 added support for go tool directive. This allows us to manage the versions of our tools much better, but this is currently not supported by this action.

Describe the solution you'd like.

It would be great if we could have an option for install-mode to use the go-tool installation.

Describe alternatives you've considered.

Currently I am not using this action but a plain "go tool golangci-lint run" but that is slightly worse in the capabilities to only validate the diff.

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions