chore: use semver go version in github action
parent
4fd91c5c02
commit
84e5921abd
|
@ -10,7 +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"
|
||||||
- run: go version
|
- run: go version
|
||||||
- run: go test -race ./...
|
- run: go test -race ./...
|
||||||
build-gotip:
|
build-gotip:
|
||||||
|
@ -20,7 +20,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"
|
||||||
- run: go get golang.org/dl/gotip
|
- run: go get golang.org/dl/gotip
|
||||||
- run: gotip download
|
- run: gotip download
|
||||||
- run: gotip version
|
- run: gotip version
|
||||||
|
@ -32,4 +32,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