From e69ea0281e349deff3c2abc9c6c37bdbf1ddfbc9 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:45:32 -0700 Subject: [PATCH] Use Go 1.23 (#6) 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 2148be6..59a0ddb 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.24.0/bin/linux/amd64/kubectl chmod +x ./kubectl @@ -47,7 +47,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 708bb81..f95e2ce 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 c53fdf2..e23a985 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 dcdfbf5..cb792e6 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 d99e2a3..14e0ef7 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.5.1 +CHART_TEST_IMAGE ?= quay.io/helmpack/chart-testing:v3.11.0 OUTBIN = bin/$(OS)_$(ARCH)/$(BIN) ifeq ($(OS),windows)