From ae2d4f99dcd8af9c2e5e38b6906efa66e65fe822 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:57:52 -0700 Subject: [PATCH] Use Go 1.23 (#342) /cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com> --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/publish-oci.yml | 2 +- .github/workflows/release-tracker.yml | 2 +- .github/workflows/release.yml | 2 +- Makefile | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff74136d9..dad3fff34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,12 +16,12 @@ concurrency: jobs: build: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - - name: Set up Go 1.22 + - name: Set up Go 1.23 uses: actions/setup-go@v1 with: - go-version: '1.22' + go-version: '1.23' id: go - name: Check out code into the Go module directory @@ -35,7 +35,7 @@ jobs: curl -fsSL -o yqq https://github.com/mikefarah/yq/releases/download/3.3.0/yq_linux_amd64 chmod +x yqq sudo mv yqq /usr/local/bin/yqq - pip3 install yq + pipx install yq # install kubectl curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.25.0/bin/linux/amd64/kubectl chmod +x ./kubectl @@ -57,7 +57,7 @@ jobs: kubernetes: name: Kubernetes - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 needs: build strategy: matrix: diff --git a/.github/workflows/publish-oci.yml b/.github/workflows/publish-oci.yml index 47c9cd9f3..573ce58c7 100644 --- a/.github/workflows/publish-oci.yml +++ b/.github/workflows/publish-oci.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code into the Go module directory uses: actions/checkout@v1 diff --git a/.github/workflows/release-tracker.yml b/.github/workflows/release-tracker.yml index c53fdf2f8..e23a98511 100644 --- a/.github/workflows/release-tracker.yml +++ b/.github/workflows/release-tracker.yml @@ -11,7 +11,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df12b6ce4..29780da03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Check out code into the Go module directory uses: actions/checkout@v1 diff --git a/Makefile b/Makefile index 20bab8154..95b3cc46f 100644 --- a/Makefile +++ b/Makefile @@ -61,9 +61,9 @@ ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH)) BASEIMAGE_PROD ?= gcr.io/distroless/static-debian12 BASEIMAGE_DBG ?= debian:bookworm -GO_VERSION ?= 1.22 +GO_VERSION ?= 1.23 BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION) -CHART_TEST_IMAGE ?= quay.io/helmpack/chart-testing:v3.8.0 +CHART_TEST_IMAGE ?= quay.io/helmpack/chart-testing:v3.11.0 OUTBIN = bin/$(OS)_$(ARCH)/$(BIN) ifeq ($(OS),windows)