From fa730cbdecc3bc9ca50a95404dd0fd92382330cc Mon Sep 17 00:00:00 2001 From: Rui Fu Date: Wed, 9 Jul 2025 18:39:45 +0800 Subject: [PATCH] upgrade go to 1.24.4 --- .github/workflows/bundle-release.yml | 8 ++++---- .github/workflows/olm-verify.yml | 4 ++-- .github/workflows/project.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test-helm-charts.yml | 4 ++-- .github/workflows/trivy.yml | 4 ++-- .github/workflows/trivy_scheduled_master.yml | 4 ++-- Dockerfile | 2 +- api/go.mod | 2 +- go.mod | 2 +- images/samples/go-function-samples/Dockerfile | 2 +- images/samples/go-function-samples/func/go.mod | 2 +- redhat.Dockerfile | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/bundle-release.yml b/.github/workflows/bundle-release.yml index fd0d7f8f1..44ed6c383 100644 --- a/.github/workflows/bundle-release.yml +++ b/.github/workflows/bundle-release.yml @@ -49,10 +49,10 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder @@ -180,10 +180,10 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder diff --git a/.github/workflows/olm-verify.yml b/.github/workflows/olm-verify.yml index 373e2bd5a..6dff4f683 100644 --- a/.github/workflows/olm-verify.yml +++ b/.github/workflows/olm-verify.yml @@ -34,10 +34,10 @@ jobs: - name: checkout uses: actions/checkout@v2 - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml index 6d783fd28..5edc6b22c 100644 --- a/.github/workflows/project.yml +++ b/.github/workflows/project.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.22.12, 1.24.2] + go-version: [1.22.12, 1.24.4] steps: - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@v1.3.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e86e5a25..61543dc26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,10 +37,10 @@ jobs: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder diff --git a/.github/workflows/test-helm-charts.yml b/.github/workflows/test-helm-charts.yml index 4fbfad068..1d51288a9 100644 --- a/.github/workflows/test-helm-charts.yml +++ b/.github/workflows/test-helm-charts.yml @@ -83,11 +83,11 @@ jobs: run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17 if: steps.list-changed.outputs.changed == 'true' - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 if: steps.list-changed.outputs.changed == 'true' uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: setup kubebuilder 3.6.0 diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 26cff21d6..6d34de1a6 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -34,10 +34,10 @@ jobs: repository: ${{github.event.pull_request.head.repo.full_name}} ref: ${{ github.event.pull_request.head.sha }} - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder diff --git a/.github/workflows/trivy_scheduled_master.yml b/.github/workflows/trivy_scheduled_master.yml index 2dca11a61..7b9cd36db 100644 --- a/.github/workflows/trivy_scheduled_master.yml +++ b/.github/workflows/trivy_scheduled_master.yml @@ -45,10 +45,10 @@ jobs: repository: ${{github.event.pull_request.head.repo.full_name}} ref: ${{ github.event.pull_request.head.sha }} - - name: Set up GO 1.24.2 + - name: Set up GO 1.24.4 uses: actions/setup-go@v1 with: - go-version: 1.24.2 + go-version: 1.24.4 id: go - name: InstallKubebuilder diff --git a/Dockerfile b/Dockerfile index 7a0e257cb..066d424b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.24.2-bullseye as builder +FROM golang:1.24.4-bullseye as builder WORKDIR /workspace/api COPY api/ . diff --git a/api/go.mod b/api/go.mod index c7fd39dff..49fc4b224 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,6 +1,6 @@ module github.com/streamnative/function-mesh/api -go 1.24.2 +go 1.24.4 require ( k8s.io/api v0.30.9 diff --git a/go.mod b/go.mod index 3b77f4d4d..2f6e95fe3 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/streamnative/function-mesh -go 1.24.2 +go 1.24.4 require ( github.com/apache/pulsar-client-go v0.9.1-0.20230816081803-fbee610ddcbf diff --git a/images/samples/go-function-samples/Dockerfile b/images/samples/go-function-samples/Dockerfile index b396b979b..1c6412317 100644 --- a/images/samples/go-function-samples/Dockerfile +++ b/images/samples/go-function-samples/Dockerfile @@ -1,5 +1,5 @@ ARG PULSAR_IMAGE_TAG -FROM golang:1.24.2-bullseye as builder +FROM golang:1.24.4-bullseye as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/images/samples/go-function-samples/func/go.mod b/images/samples/go-function-samples/func/go.mod index 9d2631d4c..f128a66c6 100644 --- a/images/samples/go-function-samples/func/go.mod +++ b/images/samples/go-function-samples/func/go.mod @@ -1,6 +1,6 @@ module github.com/apache/pulsar/pulsar-function-go/examples -go 1.24.2 +go 1.24.4 require github.com/apache/pulsar/pulsar-function-go v0.0.0-20250430085326-611dc3f360b5 diff --git a/redhat.Dockerfile b/redhat.Dockerfile index 663d17571..06a17376a 100644 --- a/redhat.Dockerfile +++ b/redhat.Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.24.2-bullseye as builder +FROM golang:1.24.4-bullseye as builder WORKDIR /workspace/api COPY api/ .