chore: add build using gotip in github action

main
hau 2020-11-23 17:45:25 +07:00
parent fe80d73f5d
commit 4eef3542d7
1 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,18 @@ jobs:
go-version: 1.15
- run: go version
- run: go test -race ./...
build-gotip:
name: Build using gotip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.15
- run: go get golang.org/dl/gotip
- run: gotip download
- run: gotip version
- run: gotip build main.go
lint:
name: Lint
runs-on: ubuntu-latest