mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-25 03:55:52 +00:00
13 lines
510 B
YAML
13 lines
510 B
YAML
name: 'Setup Go environment'
|
|
description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support'
|
|
author: 'GitHub'
|
|
inputs:
|
|
go-version:
|
|
description: 'The Go version to download (if necessary) and use. Example: 1.9.3'
|
|
default: '1.10'
|
|
# 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'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'lib/setup-go.js'
|