Skip to content

Commit a140b5e

Browse files
authored
updated Go to 1.24.0 (#34163)
* updated Go to 1.24.0 * use 1.24.0
1 parent 7f749a9 commit a140b5e

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/actions/setup-environment-action/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ runs:
8383
if: ${{ inputs.go-version != '' }}
8484
uses: actions/setup-go@v5
8585
with:
86-
go-version: ${{ inputs.go-version == 'default' && '1.23' || inputs.go-version }} # never set patch, to get latest patch releases.
86+
go-version: ${{ inputs.go-version == 'default' && '1.24' || inputs.go-version }} # never set patch, to get latest patch releases.
8787
cache-dependency-path: $${{ inputs.disable-cache && '' || 'sdks/go.sum' }}

.github/gh-actions-self-hosted-runners/arc/images/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN curl -OL https://nodejs.org/dist/v18.16.0/node-v18.16.0-linux-x64.tar.xz &&
3131
mv /usr/local/node-v18.16.0-linux-x64 /usr/local/node
3232
ENV PATH="${PATH}:/usr/local/node/bin"
3333
#Install Go
34-
ARG go_version=1.23.1
34+
ARG go_version=1.24.0
3535
RUN curl -OL https://go.dev/dl/go${go_version}.linux-amd64.tar.gz && \
3636
tar -C /usr/local -xzf go${go_version}.linux-amd64.tar.gz && \
3737
rm go${go_version}.linux-amd64.tar.gz
@@ -52,7 +52,7 @@ ENV PATH="${PATH}:/usr/local/gradle/bin"
5252
RUN curl -OL https://github.com/cli/cli/releases/download/v2.31.0/gh_2.31.0_linux_amd64.tar.gz && \
5353
tar -xvf gh_2.31.0_linux_amd64.tar.gz && \
5454
rm gh_2.31.0_linux_amd64.tar.gz && \
55-
mv gh_2.31.0_linux_amd64/bin/gh /usr/local/bin
55+
mv gh_2.31.0_linux_amd64/bin/gh /usr/local/bin
5656
#Install GCloud CLI and Kubectl
5757
RUN curl -OL https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-471.0.0-linux-x86_64.tar.gz && \
5858
tar -xvf google-cloud-sdk-471.0.0-linux-x86_64.tar.gz && \

.github/workflows/build_release_candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ jobs:
440440
fi
441441
- uses: actions/setup-go@v5
442442
with:
443-
go-version: '1.23'
443+
go-version: '1.24'
444444
- name: Import GPG key
445445
id: import_gpg
446446
uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549

buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2220,7 +2220,7 @@ class BeamModulePlugin implements Plugin<Project> {
22202220

22212221
// This sets the whole project Go version.
22222222
// The latest stable Go version can be checked at https://go.dev/dl/
2223-
project.ext.goVersion = "go1.23.6"
2223+
project.ext.goVersion = "go1.24.0"
22242224

22252225
// Minor TODO: Figure out if we can pull out the GOCMD env variable after goPrepare script
22262226
// completion, and avoid this GOBIN substitution.

dev-support/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN pip3 install distlib==0.3.1 yapf==0.29.0 pytest
7878
###
7979
# Install Go
8080
###
81-
ENV DOWNLOAD_GO_VERSION=1.23.1
81+
ENV DOWNLOAD_GO_VERSION=1.24.0
8282
RUN wget https://golang.org/dl/go${DOWNLOAD_GO_VERSION}.linux-amd64.tar.gz && \
8383
tar -C /usr/local -xzf go${DOWNLOAD_GO_VERSION}.linux-amd64.tar.gz
8484
ENV GOROOT /usr/local/go

playground/infrastructure/cloudbuild/playground_ci_examples.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ fi
8080
if [ -z "$HOME" ]; then
8181
export HOME="/builder/home"
8282
fi
83-
export STEP=CI
83+
export STEP=CI
8484
export SDK_CONFIG="$BEAM_ROOT_DIR/playground/sdks.yaml"
8585
export BEAM_EXAMPLE_CATEGORIES="$BEAM_ROOT_DIR/playground/categories.yaml"
8686
export GRADLE_VERSION=7.5.1
87-
export GO_VERSION=1.23
87+
export GO_VERSION=1.24
8888

8989
LogOutput "Installing python java8 and dependencies"
9090
apt-get update > /dev/null
@@ -140,7 +140,7 @@ LogOutput "git checkout $COMMIT"
140140
git checkout $COMMIT
141141
if [ $? -ne 0 ]; then
142142
LogOutput "Can't checkout to $COMMIT. Exiting script"
143-
exit 1
143+
exit 1
144144
fi
145145

146146
diff_log=$(git diff --name-only $DIFF_BASE...$COMMIT)
@@ -154,7 +154,7 @@ for sdk in $SDKS
154154
do
155155
eval "ci_${sdk}_passed"='False'
156156
example_has_changed="UNKNOWN"
157-
LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
157+
LogOutput "------------------Starting checker.py for SDK_${sdk^^}------------------"
158158
cd $BEAM_ROOT_DIR/playground/infrastructure
159159
python3 checker.py \
160160
--verbose \

sdks/go/run_with_go_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ set -e
3737
#
3838
# This variable is also used as the execution command downscript.
3939
# The list of downloadable versions are at https://go.dev/dl/
40-
GOVERS=go1.23.6
40+
GOVERS=go1.24.0
4141

4242
if ! command -v go &> /dev/null
4343
then

0 commit comments

Comments
 (0)