Update Go version from 1.15 to 1.16
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
parent
b0c6c2253c
commit
05c9f91897
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: lint
|
||||
run: hack/verify-staticcheck.sh
|
||||
codegen:
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: verify codegen
|
||||
run: hack/verify-codegen.sh
|
||||
- name: verify crdgen
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: compile
|
||||
run: make all
|
||||
test:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: make test
|
||||
run: make test
|
||||
e2e:
|
||||
|
@ -75,7 +75,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: setup e2e test environment
|
||||
run: hack/karmada-bootstrap.sh
|
||||
- name: run e2e
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15.x
|
||||
go-version: 1.16.x
|
||||
- name: build images
|
||||
env:
|
||||
REGISTRY: ${{secrets.SWR_REGISTRY}}
|
||||
|
|
|
@ -100,7 +100,7 @@ There are several demonstrations of common cases.
|
|||

|
||||
|
||||
### Prerequisites
|
||||
- [Go](https://golang.org/) version v1.14+
|
||||
- [Go](https://golang.org/) version v1.16+
|
||||
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) version v1.19+
|
||||
- [kind](https://kind.sigs.k8s.io/) version v0.9.0+
|
||||
|
||||
|
|
Loading…
Reference in New Issue