From 559b4443c4b33f9d203d0d2e79722e1bbea70aa5 Mon Sep 17 00:00:00 2001 From: syash Date: Tue, 10 Sep 2024 17:32:53 +0530 Subject: [PATCH] Updated the golang to the latest available stable 1.22.6 --- .github/workflows/benchmark-action.yaml | 2 +- .github/workflows/dependency-updater.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/kind-action.yml | 2 +- .github/workflows/release-process.yml | 2 +- .github/workflows/test-gh.yml | 2 +- .github/workflows/test-kctrl-gh.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- .github/workflows/upgrade-testing.yml | 2 +- Dockerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/benchmark-action.yaml b/.github/workflows/benchmark-action.yaml index d032fab1c..d511172ac 100644 --- a/.github/workflows/benchmark-action.yaml +++ b/.github/workflows/benchmark-action.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4.1.2 - uses: actions/setup-go@v5 # default version of go is 1.10 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Install Carvel Tools run: ./hack/install-deps.sh # Run benchmark with `go test -bench` and stores the output to a file diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index 4e21030f6..d2abbc20c 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Update Dependencies File run: go run ./hack/dependencies.go update - name: Create Pull Request diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ddb4bd0a7..0d3f355eb 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - uses: actions/checkout@v4.1.2 with: fetch-depth: '0' diff --git a/.github/workflows/kind-action.yml b/.github/workflows/kind-action.yml index 5170ad54a..22eaaf70d 100644 --- a/.github/workflows/kind-action.yml +++ b/.github/workflows/kind-action.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v5 # default version of go is 1.10 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Install Carvel Tools run: ./hack/install-deps.sh # Run benchmark with `go test -bench` and stores the output to a file diff --git a/.github/workflows/release-process.yml b/.github/workflows/release-process.yml index d82e3d607..aabc3f4c4 100644 --- a/.github/workflows/release-process.yml +++ b/.github/workflows/release-process.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Set up Cosign uses: sigstore/cosign-installer@v3.4.0 diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index af7345461..b87165af0 100644 --- a/.github/workflows/test-gh.yml +++ b/.github/workflows/test-gh.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Check out code uses: actions/checkout@v4.1.2 with: diff --git a/.github/workflows/test-kctrl-gh.yml b/.github/workflows/test-kctrl-gh.yml index 04a7ab971..1cf5384b4 100644 --- a/.github/workflows/test-kctrl-gh.yml +++ b/.github/workflows/test-kctrl-gh.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Check out code uses: actions/checkout@v4.1.2 with: diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 827e76092..417079335 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -70,7 +70,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Build the kapp-controller artifacts run: | ./hack/install-deps.sh diff --git a/.github/workflows/upgrade-testing.yml b/.github/workflows/upgrade-testing.yml index f0574030e..ec16f6bca 100644 --- a/.github/workflows/upgrade-testing.yml +++ b/.github/workflows/upgrade-testing.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v5 with: - go-version: 1.21.11 + go-version: 1.22.6 - name: Check out code uses: actions/checkout@v4.1.2 - name: Install Carvel Tools diff --git a/Dockerfile b/Dockerfile index 7f5c85497..85ebdf4d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.11 AS deps +FROM --platform=$BUILDPLATFORM golang:1.22.6 AS deps ARG TARGETOS TARGETARCH KCTRL_VER=development WORKDIR /workspace