chore: update latest go in github action
parent
b8b7e9823d
commit
a9d91218ba
|
@ -10,21 +10,17 @@ 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"
|
||||||
- run: go version
|
|
||||||
- run: go test -race ./...
|
- run: go test -race ./...
|
||||||
build-gotip:
|
build-gotip:
|
||||||
name: Build using gotip
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- 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"
|
||||||
- run: go get golang.org/dl/gotip
|
- run: go build
|
||||||
- run: gotip download
|
|
||||||
- run: gotip version
|
|
||||||
- run: gotip build
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -32,4 +28,4 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: golangci/golangci-lint-action@v2
|
- uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
version: v1.37
|
version: latest
|
||||||
|
|
Loading…
Reference in New Issue