feat: support non-standard .mod files in go-version-file

Change `parseGoVersionFile` to match any file ending in `.mod` instead
of only `go.mod` by basename. This enables using dedicated module files
like `golangci-lint.mod` or `tools.mod` with the `go-version-file` input.

Fixes #736

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
Tiger Kaovilai 2026-03-24 20:40:15 -04:00
parent 4a3601121d
commit d176b82c0a
No known key found for this signature in database
GPG key ID: F05DADBB55627443
4 changed files with 106938 additions and 152544 deletions

129667
dist/setup/index.js vendored

File diff suppressed because one or more lines are too long