diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a0dfa74c..6e28d8fc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 87dc65f29..5a56385d2 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -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}} diff --git a/README.md b/README.md index 591e00381..32c4d68f5 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ There are several demonstrations of common cases. ![Demo](docs/images/demo-3in1.svg) ### 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+ diff --git a/go.mod b/go.mod index 0deafff9b..ebc6687e6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/karmada-io/karmada -go 1.15 +go 1.16 require ( github.com/distribution/distribution/v3 v3.0.0-20210507173845-9329f6a62b67