From 7bcd7839893306e50146532d6317a339cc0834e2 Mon Sep 17 00:00:00 2001 From: Devanshu Date: Mon, 9 Sep 2024 01:11:39 +0530 Subject: [PATCH] Bump go version to 1.22 Signed-off-by: Devanshu --- .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 +- go.mod | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/benchmark-action.yaml b/.github/workflows/benchmark-action.yaml index f5269a1ff..c3cf44208 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.9 + go-version: 1.22.7 - 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 8355b04e0..9ed8f4598 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.9 + go-version: 1.22.7 - 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 91e2d8aff..fffd85223 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.9 + go-version: 1.22.7 - 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 a1d4b31ee..e25f49f0d 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.9 + go-version: 1.22.7 - 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 6048e2ce6..d3f303f1f 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.9 + go-version: 1.22.7 - 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 71c612b86..54927dfdb 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.9 + go-version: 1.22.7 - 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 c2550bc48..1de4405c3 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.9 + go-version: 1.22.7 - 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 70aaab1cc..fb9f66697 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.9 + go-version: 1.22.7 - 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 a8a570013..962559961 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.9 + go-version: 1.22.7 - name: Check out code uses: actions/checkout@v4.1.2 - name: Install Carvel Tools diff --git a/go.mod b/go.mod index ef6217845..14f5fafd6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/carvel-kapp-controller -go 1.21 +go 1.22 require ( carvel.dev/vendir v0.40.0