mirror of
https://github.com/actions/setup-go.git
synced 2024-11-23 15:16:09 +08: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