mirror of
https://github.com/actions/setup-go.git
synced 2023-09-23 05:03:39 +00:00
Add checkout
This commit is contained in:
parent
fb871febfe
commit
706cf65fdf
@ -12,6 +12,7 @@ See [action.yml](action.yml)
|
|||||||
Basic:
|
Basic:
|
||||||
```yaml
|
```yaml
|
||||||
actions:
|
actions:
|
||||||
|
- uses: actions/checkout@latest
|
||||||
- uses: actions/setup-go@latest
|
- uses: actions/setup-go@latest
|
||||||
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.
|
||||||
@ -27,6 +28,7 @@ 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
|
||||||
- name: Setup go
|
- name: Setup go
|
||||||
uses: actions/setup-go@latest
|
uses: actions/setup-go@latest
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user