1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-11-09 15:12:40 +00: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