Skip to content

Commit

Permalink
Update Golang version from v1.19.5 to v1.20.4
Browse files Browse the repository at this point in the history
Signed-off-by: RainbowMango <[email protected]>
  • Loading branch information
RainbowMango committed May 22, 2023
1 parent 2cdc72f commit 11c1f17
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
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/[email protected]
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

0 comments on commit 11c1f17

Please sign in to comment.