|
|
@ -13,7 +13,7 @@ Basic:
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-go@master
|
|
|
|
- uses: actions/setup-go@v1
|
|
|
|
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
|
|
|
@ -30,7 +30,7 @@ jobs:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Setup go
|
|
|
|
- name: Setup go
|
|
|
|
uses: actions/setup-go@master
|
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.go }}
|
|
|
|
version: ${{ matrix.go }}
|
|
|
|
- run: go run hello.go
|
|
|
|
- run: go run hello.go
|
|
|
|