use v2 actions
This commit is contained in:
parent
3db110f2af
commit
244d68b51a
|
@ -5,16 +5,14 @@ jobs:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.13
|
- name: Set up Golang
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.13
|
go-version: '^1.13.1'
|
||||||
id: go
|
- run: go version
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
run: go mod download
|
run: go mod download
|
||||||
|
|
Reference in New Issue