0
1
mirror of https://github.com/actions/setup-go synced 2024-05-31 18:28:04 +02:00
This commit is contained in:
Danny McCormick 2019-08-01 11:05:15 -04:00 committed by GitHub
parent 58fca98f91
commit 419ae75c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: actions/setup-go@v1 - uses: actions/setup-go@v1
with: with:
version: 1.9.3 // The Go version to download (if necessary) and use. version: '1.9.3' // The Go version to download (if necessary) and use.
- run: go run hello.go - run: go run hello.go
``` ```
@ -23,9 +23,10 @@ Matrix Testing:
```yaml ```yaml
jobs: jobs:
build: build:
runs-on: ubuntu-16.04
strategy: strategy:
matrix: matrix:
go: [ 1.8, 1.9.3, 1.10 ] go: [ '1.8', '1.9.3', '1.10' ]
name: Go ${{ matrix.go }} sample name: Go ${{ matrix.go }} sample
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master