add .tool-versions file support

This commit is contained in:
priya-kinthali 2025-10-24 16:20:41 +05:30
parent 20d79c58dd
commit 4faced9210
7 changed files with 62 additions and 14 deletions

View file

@ -5,7 +5,7 @@ inputs:
go-version:
description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.'
go-version-file:
description: 'Path to the go.mod or go.work file.'
description: 'Path to the go.mod, .tool-versions, or go.work file.'
check-latest:
description: 'Set this option to true if you want the action to always check for the latest available version that satisfies the version spec'
default: false