From 4eef3542d79f4539ae12930055f99bc686a337ea Mon Sep 17 00:00:00 2001 From: hau Date: Mon, 23 Nov 2020 17:45:25 +0700 Subject: [PATCH] chore: add build using gotip in github action --- .github/workflows/go.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 00cb92d..6fcf914 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -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