From a9d91218baf40b6e2b0902bd9837e1e56278d0a6 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Thu, 8 Apr 2021 20:58:04 +0700 Subject: [PATCH] chore: update latest go in github action --- .github/workflows/go.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 0d72cb3..0fa6318 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -10,21 +10,17 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 - - run: go version + go-version: "~1.16" - run: go test -race ./... build-gotip: - name: Build using gotip + name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 - - run: go get golang.org/dl/gotip - - run: gotip download - - run: gotip version - - run: gotip build + go-version: "~1.16" + - run: go build lint: name: Lint runs-on: ubuntu-latest @@ -32,4 +28,4 @@ jobs: - uses: actions/checkout@v2 - uses: golangci/golangci-lint-action@v2 with: - version: v1.37 + version: latest