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