go: update starter (#768)

Signed-off-by: Rui Chen <rui@chenrui.dev>

Co-authored-by: Josh Gross <joshmgross@github.com>
This commit is contained in:
chenrui
2021-01-05 11:47:18 -05:00
committed by GitHub
parent d36b72e889
commit ef1224c284
+3 -14
View File
@@ -9,25 +9,14 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go 1.x
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ^1.13
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
go-version: 1.15
- name: Build
run: go build -v ./...