diff --git a/README.md b/README.md index f035f2c..38ec9c9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ steps: - uses: actions/checkout@master - uses: actions/setup-go@v1 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 ``` @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-16.04 strategy: matrix: - go: [ '1.8', '1.9.3', '1.10.x' ] + go: [ '1.11', '1.12.12', '1.13.x' ] name: Go ${{ matrix.go }} sample steps: - uses: actions/checkout@master diff --git a/action.yml b/action.yml index 1723d7f..b2283e6 100644 --- a/action.yml +++ b/action.yml @@ -1,10 +1,10 @@ name: 'Setup Go environment' description: 'Setup a Go environment and add it to the PATH, additionally providing proxy support' author: 'GitHub' -inputs: +inputs: go-version: - description: 'The Go version to download (if necessary) and use. Example: 1.9.3' - default: '1.10' + description: 'The Go version to download (if necessary) and use. Example: 1.13.3' + default: '1.13.x' # 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'