This is an automated email from the ASF dual-hosted git repository. vterentev pushed a commit to branch fix-playground-10-31 in repository https://gitbox.apache.org/repos/asf/beam.git
commit 1980d1b302962adffc740b6719ec5236bddb0948 Author: Vitaly Terentyev <[email protected]> AuthorDate: Fri Oct 31 15:42:03 2025 +0400 Setup Go 1.25 --- .github/actions/setup-environment-action/action.yml | 2 +- .github/workflows/beam_Playground_CI_Nightly.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-environment-action/action.yml b/.github/actions/setup-environment-action/action.yml index cddcd4f5044..4962366bdab 100644 --- a/.github/actions/setup-environment-action/action.yml +++ b/.github/actions/setup-environment-action/action.yml @@ -81,7 +81,7 @@ runs: cache-disabled: ${{ inputs.disable-cache }} - name: Install Go if: ${{ inputs.go-version != '' }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ inputs.go-version == 'default' && '1.25' || inputs.go-version }} # never set patch, to get latest patch releases. cache-dependency-path: $${{ inputs.disable-cache && '' || 'sdks/go.sum' }} diff --git a/.github/workflows/beam_Playground_CI_Nightly.yml b/.github/workflows/beam_Playground_CI_Nightly.yml index 8aae902ba88..b4336334190 100644 --- a/.github/workflows/beam_Playground_CI_Nightly.yml +++ b/.github/workflows/beam_Playground_CI_Nightly.yml @@ -57,7 +57,7 @@ jobs: runs-on: [self-hosted, ubuntu-20.04, highmem] name: "beam_Playground_CI_Nightly" strategy: - matrix: + matrix: sdk: ["python", "java", "go"] fail-fast: false steps: @@ -66,6 +66,7 @@ jobs: uses: ./.github/actions/setup-environment-action with: python-version: default + go-version: '1.25' - name: Install requirements run: | cd $BEAM_ROOT_DIR/playground/infrastructure @@ -88,11 +89,11 @@ jobs: CONTAINER_ID=$(docker run -d -e PROTOCOL_TYPE=TCP apache/beam_playground-backend-${{ matrix.sdk }}:nightly) echo "container_id=$CONTAINER_ID" >> $GITHUB_ENV - name: Get Container IP - run: | + run: | CONTAINER_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${{ env.container_id }}) echo "container_ip=$CONTAINER_IP" >> $GITHUB_ENV - name: Run CI - env: + env: SERVER_ADDRESS: ${{ env.container_ip }}:8080 BEAM_EXAMPLE_CATEGORIES: ${{ env.BEAM_ROOT_DIR }}/playground/categories.yaml SDK: ${{ matrix.sdk }}
