chore: use go 1.16.x in github action

main
Tran Hau 2021-03-18 10:21:19 +00:00
parent 7b32bb17b0
commit c962ad103f
1 changed files with 2 additions and 4 deletions

View File

@ -10,8 +10,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: "^1.16" go-version: 1.16.x
- run: go version
- run: go test -race ./... - run: go test -race ./...
build-gotip: build-gotip:
name: Build name: Build
@ -20,8 +19,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: "^1.16" go-version: 1.16.x
- run: go version
- run: go build - run: go build
lint: lint:
name: Lint name: Lint