2019-11-08 16:50:57 +00:00
|
|
|
name: 'Setup Go'
|
|
|
|
description: 'Set up a specific version of Go and add the command-line tools to the PATH'
|
2019-06-19 09:44:17 -04:00
|
|
|
author: 'GitHub'
|
|
|
|
inputs:
|
2019-08-13 16:31:11 -04:00
|
|
|
go-version:
|
2019-06-19 10:11:12 -04:00
|
|
|
description: 'The Go version to download (if necessary) and use. Example: 1.9.3'
|
|
|
|
default: '1.10'
|
2019-08-13 16:31:11 -04:00
|
|
|
# Deprecated option, do not use. Will not be supported after October 1, 2019
|
|
|
|
version:
|
|
|
|
description: 'Deprecated. Use go-version instead. Will not be supported after October 1, 2019'
|
2019-09-12 10:36:27 -04:00
|
|
|
deprecationMessage: 'The version property will not be supported after October 1, 2019. Use go-version instead'
|
2019-06-19 09:44:17 -04:00
|
|
|
runs:
|
2019-07-09 12:44:13 -04:00
|
|
|
using: 'node12'
|
2019-06-19 10:11:12 -04:00
|
|
|
main: 'lib/setup-go.js'
|