golangci-lint-action/dist
Pedro Tanaka 17e961267d
feat: add support for reading golangci-lint version from go.mod
Implements automatic version detection from go.mod files to keep
golangci-lint versions synchronized between the module and CI.

- Add new `go-mod-path` input parameter to specify custom go.mod location
- Automatically detect and use version from go.mod when no explicit version provided
- Force `goinstall` mode when using go.mod versions for compatibility
- Support both default go.mod and custom paths (e.g., tools/go.mod)

This eliminates the need to manually update versions in multiple places
and ensures CI uses the same golangci-lint version as the project.

Fixes #1268

Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
2025-08-21 12:54:47 +02:00
..
post_run feat: add support for reading golangci-lint version from go.mod 2025-08-21 12:54:47 +02:00
run feat: add support for reading golangci-lint version from go.mod 2025-08-21 12:54:47 +02:00
matchers.json Fix problems parsing 2020-05-04 19:48:51 +03:00