Description:
Support go workspace mode for go-version-file.
go workspace uses go.work file that summarizes packages when the repo contains multiple packages.
Justification:
If repo contains multiple go packages with many go.mod files, we can't select one go.mod file to set go-version-file.
So, that case we can use go workspace mode and create one go.work file to summarize packages.
This "Feature request" wants to select the go version from the go.work file to easy to set the go version in CI.
Are you willing to submit a PR?