mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-22 01:29:32 +01:00
Add checkout
This commit is contained in:
parent
fb871febfe
commit
706cf65fdf
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ See [action.yml](action.yml)
|
|||
Basic:
|
||||
```yaml
|
||||
actions:
|
||||
- uses: actions/checkout@latest
|
||||
- uses: actions/setup-go@latest
|
||||
with:
|
||||
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 ]
|
||||
name: Go ${{ matrix.go }} sample
|
||||
actions:
|
||||
- uses: actions/checkout@latest
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@latest
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue