From f8f64eb15f463a7c1c865c1d0ed6051d73e4812f Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Thu, 13 Feb 2025 08:45:01 +0000 Subject: [PATCH] Add support for go 1.24 and phased out support for go 1.22 Change-Id: Iebdf58c8db5ad8d680e80140c0130e57e643250c Signed-off-by: Cosmin Cojocar --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0885f2132e..d81240cb2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: test: strategy: matrix: - version: [{go: '1.22.12', golangci: 'latest'}, {go: '1.23.6', golangci: 'latest'}] + version: [{go: '1.23.6', golangci: 'latest'}, {go: '1.24.0', golangci: 'latest'}] runs-on: ubuntu-latest env: GO111MODULE: on @@ -48,7 +48,7 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: '1.23.6' + go-version: '1.24.0' - name: Checkout Source uses: actions/checkout@v4 - uses: actions/cache@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14de3e9a2b..2e8b758228 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.23.6' + go-version: '1.24.0' - name: Install Cosign uses: sigstore/cosign-installer@v3 with: @@ -67,7 +67,7 @@ jobs: tags: ${{steps.meta.outputs.tags}} labels: ${{steps.meta.outputs.labels}} push: true - build-args: GO_VERSION=1.23 + build-args: GO_VERSION=1.24 - name: Sign Docker Image run: cosign sign --yes --key /tmp/cosign.key ${DIGEST} --registry-username="$secrets.DOCKER_USERNAME" --registry-password="::add-mask::$secrets.DOCKER_PASSWORD" env: