mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-11-23 11:00:56 -05: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:
|
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 a new issue