Skip to content

Make go-version-file: go.mod the default #523

Open
@andig

Description

@andig

Description:
Currently, I have to add

with:
  go-version-file: go.mod

for all builds to specify a go version. Instead, the "default" go version that any go program would use is the one from the go.mod with fallback to the installed go version. This should be the default for setup-go, too.

Justification:
Simplify developer's life.

Are you willing to submit a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions