mirror of
https://github.com/actions/setup-go.git
synced 2026-04-07 05:09:25 +00:00
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:
parent
4a3601121d
commit
d176b82c0a
4 changed files with 106938 additions and 152544 deletions
129800
dist/cache-save/index.js
vendored
129800
dist/cache-save/index.js
vendored
File diff suppressed because one or more lines are too long
129667
dist/setup/index.js
vendored
129667
dist/setup/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue