From 34b621f4cf9e5e08ce087b259279ae7b6fb59a8c Mon Sep 17 00:00:00 2001 From: Jie Luo Date: Wed, 22 Apr 2026 18:47:30 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 904160577 --- .github/workflows/staleness_check.yml | 4 +- .github/workflows/test_bazel.yml | 16 +++---- .github/workflows/test_cpp.yml | 60 +++++++++++++-------------- .github/workflows/test_csharp.yml | 16 +++---- .github/workflows/test_hpb.yml | 4 +- .github/workflows/test_java.yml | 12 +++--- .github/workflows/test_objectivec.yml | 14 +++---- .github/workflows/test_php.yml | 24 +++++------ .github/workflows/test_php_ext.yml | 6 +-- .github/workflows/test_python.yml | 8 ++-- .github/workflows/test_ruby.yml | 24 +++++------ .github/workflows/test_rust.yml | 8 ++-- .github/workflows/test_upb.yml | 18 ++++---- .github/workflows/test_yaml.yml | 2 +- 14 files changed, 108 insertions(+), 108 deletions(-) diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml index d9e8148265f30..e8674ae2c36f5 100644 --- a/.github/workflows/staleness_check.yml +++ b/.github/workflows/staleness_check.yml @@ -27,7 +27,7 @@ jobs: if: ${{ github.event.repository.full_name == 'protocolbuffers/protobuf' }} steps: - name: Checkout - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -50,7 +50,7 @@ jobs: # In branches where automatic updates work as post-submits, we don't want to run staleness # tests along with user changes. Any stale files will be automatically fixed in a follow-up # commit. - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: version: 8.0.1 # Bazel version credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_bazel.yml b/.github/workflows/test_bazel.yml index 9c281871cfc6c..13d23fde0f232 100644 --- a/.github/workflows/test_bazel.yml +++ b/.github/workflows/test_bazel.yml @@ -41,7 +41,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -70,7 +70,7 @@ jobs: - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: examples-${{ matrix.bazelversion }}-${{ matrix.bzlmod }}-${{ matrix.toolchain_resolution }} @@ -94,13 +94,13 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: examples-prebuilt-${{ matrix.bazelversion }}-${{ matrix.toolchain_resolution }} @@ -116,11 +116,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-d415763a389bb62a6f126b08c992e83f9f7dc1b4 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -136,11 +136,11 @@ jobs: runs-on: ${{ matrix.runner }} steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: "bazel-tests-${{ matrix.runner }}" diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index d2856e79e3edb..9eb0c5ffba9e5 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -57,12 +57,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -84,12 +84,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:8.0.1-${{ matrix.version }}-e78301df86b3e4c46ec9ac4d98be00e19305d8f3 @@ -110,26 +110,26 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Cross compile protoc for ${{ matrix.arch }} if: ${{ !matrix.continuous-only || inputs.continuous-run }} id: cross-compile - uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v5 + uses: protocolbuffers/protobuf-ci/cross-compile-protoc@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-d415763a389bb62a6f126b08c992e83f9f7dc1b4 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} architecture: linux-${{ matrix.arch }} - name: Setup sccache if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: linux-release-${{ matrix.arch }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/emulation:8.0.1-${{ matrix.arch }}-168f9c9d015a0fa16611e1e9eede796fe9bfbb69 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -169,20 +169,20 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup sccache if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: linux-cmake credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.16.9-9626718698895971df3953d4aa2321d7425f3c5f credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -211,20 +211,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 if: ${{ !matrix.continuous-only || inputs.continuous-run }} with: ref: ${{ inputs.safe-checkout }} - name: Setup sccache - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 if: ${{ !matrix.continuous-only || inputs.continuous-run }} with: cache-prefix: linux-cmake-install credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 if: ${{ !matrix.continuous-only || inputs.continuous-run }} with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.16.9-9626718698895971df3953d4aa2321d7425f3c5f @@ -278,7 +278,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -310,20 +310,20 @@ jobs: steps: - name: Checkout pending changes if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup sccache if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: linux-cmake-examples credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.16.9-9626718698895971df3953d4aa2321d7425f3c5f credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -352,20 +352,20 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup sccache if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: linux-cmake-gcc credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:8.0.1-12.2-168f9c9d015a0fa16611e1e9eede796fe9bfbb69 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -384,18 +384,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup sccache - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: linux-cmake-32-bit credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} - name: Run tests - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/32bit@sha256:d6028ab408c49932836cdc514116f06886d7f6868a4d430630aa52adc5aee2fc platform: linux/386 @@ -440,12 +440,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel: ${{ matrix.bazel }} @@ -500,7 +500,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -513,7 +513,7 @@ jobs: - name: Setup sccache if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/sccache@v5 + uses: protocolbuffers/protobuf-ci/sccache@test-cache3 with: cache-prefix: ${{ matrix.cache-prefix }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -521,7 +521,7 @@ jobs: # Install phase. - name: Configure CMake for install if: ${{ matrix.install-flags && (!matrix.continuous-only || inputs.continuous-run) }} - uses: protocolbuffers/protobuf-ci/bash@v5 + uses: protocolbuffers/protobuf-ci/bash@test-cache3 with: bazel-version: 8.0.1 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -547,7 +547,7 @@ jobs: - name: Configure CMake if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bash@v5 + uses: protocolbuffers/protobuf-ci/bash@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-version: 8.0.1 diff --git a/.github/workflows/test_csharp.yml b/.github/workflows/test_csharp.yml index 6e9331b7c5142..614c7be94f18f 100644 --- a/.github/workflows/test_csharp.yml +++ b/.github/workflows/test_csharp.yml @@ -19,13 +19,13 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} # TODO Run this with Bazel once codegen is handled properly. - name: Run tests - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:8.0.1-3.1.415-6.0.100-b77fdae6d4771789dfc66a56bf8d806354e8011a credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -41,7 +41,7 @@ jobs: run: sudo rm -rf _build .repository-cache - name: Run conformance tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:8.0.1-3.1.415-6.0.100-b77fdae6d4771789dfc66a56bf8d806354e8011a credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -53,7 +53,7 @@ jobs: runs-on: windows-2022 steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -63,7 +63,7 @@ jobs: dotnet-version: '6.0.x' - name: Run tests - uses: protocolbuffers/protobuf-ci/bash@v5 + uses: protocolbuffers/protobuf-ci/bash@test-cache3 with: bazel-version: 8.0.1 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -76,14 +76,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Build protobuf C# tests under x86_64 docker image # Tests are built "dotnet publish" because we want all the dependencies to the copied to the destination directory # (we want to avoid references to ~/.nuget that won't be available in the subsequent docker run) - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -100,7 +100,7 @@ jobs: # running under current user's UID and GID. To be able to do that, we need to provide a home directory for the user # otherwise the UID would be homeless under the docker container and pip install wouldn't work. For simplicity, # we just run map the user's home to a throwaway temporary directory - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim-arm64v8 skip-staleness-check: true diff --git a/.github/workflows/test_hpb.yml b/.github/workflows/test_hpb.yml index 68cf70ab15f1e..7044e1434254f 100644 --- a/.github/workflows/test_hpb.yml +++ b/.github/workflows/test_hpb.yml @@ -29,11 +29,11 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_java.yml b/.github/workflows/test_java.yml index aed632afcabed..b6f95911724ea 100644 --- a/.github/workflows/test_java.yml +++ b/.github/workflows/test_java.yml @@ -58,12 +58,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 if: ${{ !matrix.continuous-only || inputs.continuous-run }} with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 if: ${{ !matrix.continuous-only || inputs.continuous-run }} with: image: ${{ matrix.image }} @@ -77,11 +77,11 @@ jobs: # runs-on: ubuntu-latest # steps: # - name: Checkout pending changes - # uses: protocolbuffers/protobuf-ci/checkout@v5 + # uses: protocolbuffers/protobuf-ci/checkout@test-cache3 # with: # ref: ${{ inputs.safe-checkout }} # - name: Run Linkage Monitor test - # uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + # uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 # with: # image: us-docker.pkg.dev/protobuf-build/containers/test/linux/java:8-1fdbb997433cb22c1e49ef75ad374a8d6bb88702 # credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -95,11 +95,11 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Generate maven artifacts with bazel and install using maven - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/java:8.0.1-11-b77fdae6d4771789dfc66a56bf8d806354e8011a credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_objectivec.yml b/.github/workflows/test_objectivec.yml index 207c7653b2c12..cfb2051da0630 100644 --- a/.github/workflows/test_objectivec.yml +++ b/.github/workflows/test_objectivec.yml @@ -50,20 +50,20 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup ccache if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/ccache@v5 + uses: protocolbuffers/protobuf-ci/ccache@test-cache3 with: cache-prefix: objectivec_${{ matrix.platform }}_${{ matrix.xc_config }} support-modules: true - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bash@v5 + uses: protocolbuffers/protobuf-ci/bash@test-cache3 env: CC: ${{ github.workspace }}/ci/clang_wrapper CXX: ${{ github.workspace }}/ci/clang_wrapper++ @@ -103,7 +103,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Xcode version @@ -111,7 +111,7 @@ jobs: run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.XCODE }}.app - name: Pod lib lint if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: version: 8.0.1 # Bazel version credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -154,12 +154,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: bazel ${{ matrix.config.bazel_action }} if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: version: 8.0.1 # Bazel version credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_php.yml b/.github/workflows/test_php.yml index 1c21913fb15e8..3a85f4c5ee5fe 100644 --- a/.github/workflows/test_php.yml +++ b/.github/workflows/test_php.yml @@ -58,12 +58,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php:8.0.1-${{ matrix.version }}-7d856878bb9d57cf17083cbf1078afe50f3013f3 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -106,14 +106,14 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Cross compile protoc for i386 if: ${{ !matrix.continuous-only || inputs.continuous-run }} id: cross-compile - uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v5 + uses: protocolbuffers/protobuf-ci/cross-compile-protoc@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-e78301df86b3e4c46ec9ac4d98be00e19305d8f3 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -121,7 +121,7 @@ jobs: - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: ${{ env.image }} platform: linux/386 @@ -139,20 +139,20 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Cross compile protoc for aarch64 id: cross-compile - uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v5 + uses: protocolbuffers/protobuf-ci/cross-compile-protoc@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-e78301df86b3e4c46ec9ac4d98be00e19305d8f3 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} architecture: linux-aarch64 - name: Run tests - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php-aarch64@sha256:77ff9fdec867bbfb290ee0b10d8b7a3e5e434155daa5ec93de7341c7592b858d platform: linux/arm64 @@ -178,7 +178,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -194,14 +194,14 @@ jobs: - name: Setup composer if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/composer-setup@v5 + uses: protocolbuffers/protobuf-ci/composer-setup@test-cache3 with: cache-prefix: php-${{ matrix.version }} directory: php - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bash@v5 + uses: protocolbuffers/protobuf-ci/bash@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-version: 8.0.1 @@ -217,7 +217,7 @@ jobs: - name: Run conformance tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} version: 8.0.1 # Bazel version diff --git a/.github/workflows/test_php_ext.yml b/.github/workflows/test_php_ext.yml index 1a24652952a45..10843b3116557 100644 --- a/.github/workflows/test_php_ext.yml +++ b/.github/workflows/test_php_ext.yml @@ -28,12 +28,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Package extension - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: version: 8.0.1 # Bazel version credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -67,7 +67,7 @@ jobs: - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php-extension:${{ matrix.version }}-f1c24ed6acfbf6ec709b0de2f702209c9d3ac659 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index edb3232af2ce1..ac3e7c6d2750d 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -57,12 +57,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/python:8.0.1-{0}-5237f14696e60e4b050edfbf7ba9b374f37f83c6', matrix.version) }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -91,7 +91,7 @@ jobs: runs-on: macos-14 steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -111,7 +111,7 @@ jobs: source venv/bin/activate - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 env: KOKORO_PYTHON_VERSION: ${{ matrix.version }} with: diff --git a/.github/workflows/test_ruby.yml b/.github/workflows/test_ruby.yml index 63c759889ce2c..22fdf0a9d460c 100644 --- a/.github/workflows/test_ruby.yml +++ b/.github/workflows/test_ruby.yml @@ -47,12 +47,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-{0}-b77fdae6d4771789dfc66a56bf8d806354e8011a', matrix.ruby) }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -72,20 +72,20 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Cross compile protoc for i386 id: cross-compile - uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v5 + uses: protocolbuffers/protobuf-ci/cross-compile-protoc@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-e78301df86b3e4c46ec9ac4d98be00e19305d8f3 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} architecture: linux-i386 - name: Run tests - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: i386/ruby:3.1.6-bullseye credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -104,14 +104,14 @@ jobs: steps: - name: Checkout pending changes if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Cross compile protoc for aarch64 if: ${{ inputs.continuous-run }} id: cross-compile - uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v5 + uses: protocolbuffers/protobuf-ci/cross-compile-protoc@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:8.0.1-e78301df86b3e4c46ec9ac4d98be00e19305d8f3 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -119,7 +119,7 @@ jobs: - name: Run tests if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/docker@v5 + uses: protocolbuffers/protobuf-ci/docker@test-cache3 with: image: arm64v8/ruby:3.1.4-buster credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -154,7 +154,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} @@ -170,7 +170,7 @@ jobs: - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: version: 8.0.1 # Bazel version credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -199,12 +199,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:8.0.1-{0}-b77fdae6d4771789dfc66a56bf8d806354e8011a', matrix.ruby) }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index f715d267529d3..409b5e08a473c 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -39,11 +39,11 @@ jobs: runs-on: ubuntu-22-4core steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.image }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -59,7 +59,7 @@ jobs: runs-on: windows-2022 steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Install Rust @@ -68,7 +68,7 @@ jobs: # feature. run: rustup default 1.90 - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel: run //rust/release_crates:cargo_test diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml index 98dfde818d01c..ffa3302225977 100644 --- a/.github/workflows/test_upb.yml +++ b/.github/workflows/test_upb.yml @@ -44,12 +44,12 @@ jobs: steps: - name: Checkout pending changes if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests if: ${{ !matrix.config.continuous-only || inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: ${{ matrix.config.image || 'us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize:8.0.1-d415763a389bb62a6f126b08c992e83f9f7dc1b4' }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -64,11 +64,11 @@ jobs: runs-on: windows-2022 steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: "upb-bazel-windows" @@ -88,7 +88,7 @@ jobs: runs-on: macos-14 steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Setup Python @@ -98,7 +98,7 @@ jobs: cache: pip cache-dependency-path: 'python/requirements.txt' - name: Run tests - uses: protocolbuffers/protobuf-ci/bazel@v5 + uses: protocolbuffers/protobuf-ci/bazel@test-cache3 with: credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: "upb-bazel-macos" @@ -111,11 +111,11 @@ jobs: if: ${{ github.event_name != 'pull_request_target' }} steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Build Wheels - uses: protocolbuffers/protobuf-ci/bazel-docker@v5 + uses: protocolbuffers/protobuf-ci/bazel-docker@test-cache3 with: image: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple:8.0.1-8c286adfa190f9d0caa666ab605189345f362c02 credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} @@ -290,7 +290,7 @@ jobs: steps: - name: Checkout pending changes if: ${{ inputs.continuous-run }} - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Download Wheels diff --git a/.github/workflows/test_yaml.yml b/.github/workflows/test_yaml.yml index 72ca83fe64e64..41407b079caf5 100644 --- a/.github/workflows/test_yaml.yml +++ b/.github/workflows/test_yaml.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout pending changes - uses: protocolbuffers/protobuf-ci/checkout@v5 + uses: protocolbuffers/protobuf-ci/checkout@test-cache3 with: ref: ${{ inputs.safe-checkout }} - name: Run python validation script