Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Golang version from v1.19.5 to v1.20.4 #3565

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: setup e2e test environment
run: |
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: vendor
run: hack/verify-vendor.sh
- name: lint
Expand All @@ -41,7 +41,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: Install Protoc
# TODO(@RainbowMango): Update the action version to adopt Node16
# track issue: https://github.com/arduino/setup-protoc/issues/59
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: compile
run: make all
test:
Expand All @@ -88,7 +88,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: make test
run: make test
- name: Upload coverage to Codecov
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: setup e2e test environment
run: |
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.17.0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-latest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: install QEMU
uses: docker/setup-qemu-action@v2
- name: install Buildx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-released-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: install QEMU
uses: docker/setup-qemu-action@v2
- name: install Buildx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: Making and packaging
env:
GOOS: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-latest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-released-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.5
go-version: 1.20.4
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This guide will cover:
- Propagate an application by using `karmada`.

### Prerequisites
- [Go](https://golang.org/) version v1.19+
- [Go](https://golang.org/) version v1.20+
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) version v1.19+
- [kind](https://kind.sigs.k8s.io/) version v0.14.0+

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/karmada-io/karmada

go 1.19
go 1.20

require (
github.com/distribution/distribution/v3 v3.0.0-20210507173845-9329f6a62b67
Expand Down
2 changes: 1 addition & 1 deletion hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ KARMADA_OPENSEARCH_DASHBOARDS_LABEL="karmada-opensearch-dashboards"

KARMADA_GO_PACKAGE="github.com/karmada-io/karmada"

MIN_Go_VERSION=go1.19.0
MIN_Go_VERSION=go1.20.0

KARMADA_TARGET_SOURCE=(
karmada-aggregated-apiserver=cmd/aggregated-apiserver
Expand Down