mirror of
https://github.com/actions/setup-go.git
synced 2024-12-29 06:04:46 -05:00
Update README.md
This commit is contained in:
parent
706cf65fdf
commit
a7fe89aa82
1 changed files with 4 additions and 4 deletions
|
@ -12,8 +12,8 @@ See [action.yml](action.yml)
|
||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- uses: actions/setup-go@latest
|
- uses: actions/setup-go@master
|
||||||
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
|
||||||
|
@ -28,9 +28,9 @@ jobs:
|
||||||
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
|
||||||
actions:
|
actions:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@master
|
||||||
- name: Setup go
|
- name: Setup go
|
||||||
uses: actions/setup-go@latest
|
uses: actions/setup-go@master
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.go }}
|
version: ${{ matrix.go }}
|
||||||
- run: go run hello.go
|
- run: go run hello.go
|
||||||
|
|
Loading…
Reference in a new issue