From 84e5921abd43ca046cc00743b4fa3ff65d517d72 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Thu, 18 Mar 2021 10:10:16 +0000 Subject: [PATCH] chore: use semver go version in github action --- .github/workflows/go.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 0d72cb3..7034d77 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: "^1.16" - run: go version - run: go test -race ./... build-gotip: @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: "^1.16" - run: go get golang.org/dl/gotip - run: gotip download - run: gotip version @@ -32,4 +32,4 @@ jobs: - uses: actions/checkout@v2 - uses: golangci/golangci-lint-action@v2 with: - version: v1.37 + version: latest