Update to latest v1.13.x

This commit is contained in:
Rui Chen 2019-10-29 21:20:37 -04:00
parent 719279e783
commit a84268ffb7
2 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: actions/setup-go@v1 - uses: actions/setup-go@v1
with: with:
go-version: '1.9.3' # The Go version to download (if necessary) and use. go-version: '1.13.x' # The Go version to download (if necessary) and use, default to latest v1.13.x
- run: go run hello.go - run: go run hello.go
``` ```
@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
strategy: strategy:
matrix: matrix:
go: [ '1.8', '1.9.3', '1.10.x' ] go: [ '1.11', '1.12.12', '1.13.x' ]
name: Go ${{ matrix.go }} sample name: Go ${{ matrix.go }} sample
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master

View file

@ -1,10 +1,10 @@
name: 'Setup Go environment' name: 'Setup Go environment'
description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support' description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support'
author: 'GitHub' author: 'GitHub'
inputs: inputs:
go-version: go-version:
description: 'The Go version to download (if necessary) and use. Example: 1.9.3' description: 'The Go version to download (if necessary) and use. Example: 1.13.3'
default: '1.10' default: '1.13.x'
# Deprecated option, do not use. Will not be supported after October 1, 2019 # Deprecated option, do not use. Will not be supported after October 1, 2019
version: version:
description: 'Deprecated. Use go-version instead. Will not be supported after October 1, 2019' description: 'Deprecated. Use go-version instead. Will not be supported after October 1, 2019'