go: update starter (#768)

Signed-off-by: Rui Chen <[email protected]>

Co-authored-by: Josh Gross <[email protected]>
This commit is contained in:
chenrui
2021-01-05 11:47:18 -05:00
committed by GitHub
co-authored by Josh Gross
parent d36b72e889
commit ef1224c284
+3 -14
View File
@@ -9,25 +9,14 @@ on:
jobs: jobs:
build: build:
name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
- name: Set up Go 1.x - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ^1.13 go-version: 1.15
- 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
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...