Describe the bug
The || 'stable' fallback means go-version is never empty, so a caller passing only
go_version_file gets both inputs. setup-go warns Both go-version and go-version-file inputs are specified, only go-version will be used and installs stable, silently
discarding go.mod.
Steps to reproduce
Run the workflow.
Code of Conduct
Describe the bug
The
|| 'stable'fallback meansgo-versionis never empty, so a caller passing onlygo_version_filegets both inputs. setup-go warnsBoth go-version and go-version-file inputs are specified, only go-version will be usedand installsstable, silentlydiscarding
go.mod.Steps to reproduce
Run the workflow.
Code of Conduct