mirror of
https://github.com/actions/setup-go.git
synced 2026-10-17 04:37:52 +02:00
Add support for .tool-versions file in setup-go, update workflow (#673)
* setup go in local * add .tool-versions file support
This commit is contained in:
1 parent
7bc60db215
commit
faf52423ec
8 files changed
+63
-14
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user