mirror of https://github.com/actions/setup-go.git
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>pull/737/head
parent
4a3601121d
commit
d176b82c0a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue