Reference latest setup-go

This commit is contained in:
Linus Gasser 2020-11-27 08:11:50 +01:00 committed by GitHub
parent 37335c7bb2
commit 6eb700292f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ Basic:
```yaml
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v1
- uses: actions/setup-go@v2
with:
go-version: '1.9.3' # The Go version to download (if necessary) and use.
- run: go run hello.go
@ -68,7 +68,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: go run hello.go