Test out 2.2.1, which won't need a PR
diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml
index b4df8f6..0127548 100644
--- a/.github/workflows/staleness_check.yml
+++ b/.github/workflows/staleness_check.yml
@@ -26,7 +26,7 @@
if: ${{ github.event.repository.full_name == 'protocolbuffers/protobuf' }}
steps:
- name: Checkout ${{ github.head_ref && 'PR' || matrix.branch }}
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout || github.head_ref || matrix.branch }}
diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml
index 7040855..ab4ea87 100644
--- a/.github/workflows/test_cpp.yml
+++ b/.github/workflows/test_cpp.yml
@@ -40,11 +40,11 @@
runs-on: ${{ matrix.config.runner || 'ubuntu-latest' }}
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: ${{ matrix.image }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -60,11 +60,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:${{ matrix.version }}-6.3.0-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -80,24 +80,24 @@
runs-on: ubuntu-22-4core
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
- name: Cross compile protoc for ${{ matrix.arch }}
id: cross-compile
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-${{ matrix.arch }}
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-release-${{ matrix.arch }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/emulation:${{ matrix.arch }}-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -130,18 +130,18 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.13.3-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -155,19 +155,19 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake-install
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.13.3-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -186,18 +186,18 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake-examples
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.13.3-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -226,19 +226,19 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake-gcc
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:12.2-6.3.0-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -257,19 +257,19 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake-submodules
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/cmake:3.13.3-63dd26c0c7a808d92673a3e52e848189d4ab0f17
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -282,19 +282,19 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: linux-cmake-32-bit
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/32bit@sha256:8275360dc5d676f3470872d79087901c0e4153453976bea908a92c82e8d209ea
platform: linux/386
@@ -331,11 +331,11 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: ${{ matrix.bazel }}
@@ -395,7 +395,7 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
submodules: recursive
@@ -419,7 +419,7 @@
shell: bash
- name: Setup sccache
- uses: protocolbuffers/protobuf-ci/sccache@v4
+ uses: protocolbuffers/protobuf-ci/sccache@v2.2.1
with:
cache-prefix: ${{ matrix.cache-prefix }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -427,7 +427,7 @@
# Install phase.
- name: Configure CMake for install
if: matrix.install-flags
- uses: protocolbuffers/protobuf-ci/bash@v4
+ uses: protocolbuffers/protobuf-ci/bash@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: cmake . ${{ matrix.install-flags }} ${{ env.SCCACHE_CMAKE_FLAGS }} -Dprotobuf_ALLOW_CCACHE=ON
@@ -449,7 +449,7 @@
run: cmake --build . --target clean && rm CMakeCache.txt
- name: Configure CMake
- uses: protocolbuffers/protobuf-ci/bash@v4
+ uses: protocolbuffers/protobuf-ci/bash@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: cmake . ${{ matrix.flags }} ${{ env.SCCACHE_CMAKE_FLAGS }} -Dprotobuf_ALLOW_CCACHE=ON
diff --git a/.github/workflows/test_csharp.yml b/.github/workflows/test_csharp.yml
index f52d63d..5f355eb 100644
--- a/.github/workflows/test_csharp.yml
+++ b/.github/workflows/test_csharp.yml
@@ -17,11 +17,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:3.1.415-6.0.100-66964dc8b07b6d1fc73a5cc14e59e84c1c534cea
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -33,7 +33,7 @@
runs-on: windows-2019
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
@@ -53,14 +53,14 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
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@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -77,7 +77,7 @@
# 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@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim-arm64v8
skip-staleness-check: true
diff --git a/.github/workflows/test_java.yml b/.github/workflows/test_java.yml
index 28537f8..50eed8e 100644
--- a/.github/workflows/test_java.yml
+++ b/.github/workflows/test_java.yml
@@ -38,11 +38,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: ${{ matrix.image }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -54,11 +54,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run Linkage Monitor test
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/java:8-1fdbb997433cb22c1e49ef75ad374a8d6bb88702
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -70,12 +70,12 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Build protoc
id: build-protoc
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -89,7 +89,7 @@
mvn -e -B -Dhttps.protocols=TLSv1.2 install -Dmaven.test.skip=true
working-directory: java
- name: Generate pom.xml files from the template
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/java:11-1fdbb997433cb22c1e49ef75ad374a8d6bb88702
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
diff --git a/.github/workflows/test_objectivec.yml b/.github/workflows/test_objectivec.yml
index eb84c9b..a64443d 100644
--- a/.github/workflows/test_objectivec.yml
+++ b/.github/workflows/test_objectivec.yml
@@ -34,18 +34,18 @@
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Setup ccache
- uses: protocolbuffers/protobuf-ci/ccache@v4
+ uses: protocolbuffers/protobuf-ci/ccache@v2.2.1
with:
cache-prefix: objectivec_${{ matrix.platform }}_${{ matrix.xc_config }}
support-modules: true
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bash@v4
+ uses: protocolbuffers/protobuf-ci/bash@v2.2.1
env:
CC: ${{ github.workspace }}/ci/clang_wrapper
CXX: ${{ github.workspace }}/ci/clang_wrapper++
@@ -77,11 +77,11 @@
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Pod lib lint
- uses: protocolbuffers/protobuf-ci/bash@v4
+ uses: protocolbuffers/protobuf-ci/bash@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: |
@@ -118,11 +118,11 @@
runs-on: macos-13
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: bazel ${{ matrix.config.bazel_action }}
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: ${{ matrix.config.bazel_action }} ${{ matrix.config.flags }} ${{ matrix.bazel_targets }}
diff --git a/.github/workflows/test_php.yml b/.github/workflows/test_php.yml
index 9a9aa44..c8de213 100644
--- a/.github/workflows/test_php.yml
+++ b/.github/workflows/test_php.yml
@@ -39,16 +39,16 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Setup composer
- uses: protocolbuffers/protobuf-ci/composer-setup@v4
+ uses: protocolbuffers/protobuf-ci/composer-setup@v2.2.1
with:
cache-prefix: php-${{ matrix.version-short }}
directory: php
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php:${{ matrix.version }}-66964dc8b07b6d1fc73a5cc14e59e84c1c534cea
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -77,26 +77,26 @@
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/32bit@sha256:8275360dc5d676f3470872d79087901c0e4153453976bea908a92c82e8d209ea
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Cross compile protoc for i386
id: cross-compile
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-i386
- name: Setup composer
- uses: protocolbuffers/protobuf-ci/composer-setup@v4
+ uses: protocolbuffers/protobuf-ci/composer-setup@v2.2.1
with:
cache-prefix: php-${{ matrix.version }}
directory: php
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: ${{ env.image }}
platform: linux/386
@@ -114,26 +114,26 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Cross compile protoc for aarch64
id: cross-compile
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-aarch64
- name: Setup composer
- uses: protocolbuffers/protobuf-ci/composer-setup@v4
+ uses: protocolbuffers/protobuf-ci/composer-setup@v2.2.1
with:
cache-prefix: php-8.0
directory: php
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php-aarch64@sha256:77ff9fdec867bbfb290ee0b10d8b7a3e5e434155daa5ec93de7341c7592b858d
platform: linux/arm64
@@ -155,7 +155,7 @@
runs-on: macos-13
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
@@ -174,13 +174,13 @@
run: php --version | grep ${{ matrix.version }} || (echo "Invalid PHP version - $(php --version)" && exit 1)
- name: Setup composer
- uses: protocolbuffers/protobuf-ci/composer-setup@v4
+ uses: protocolbuffers/protobuf-ci/composer-setup@v2.2.1
with:
cache-prefix: php-${{ matrix.version }}
directory: php
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bash@v4
+ uses: protocolbuffers/protobuf-ci/bash@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: |
@@ -192,7 +192,7 @@
popd
- name: Run conformance tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: php_macos/${{ matrix.version }}
diff --git a/.github/workflows/test_php_ext.yml b/.github/workflows/test_php_ext.yml
index e94ca60..40c9c7d 100644
--- a/.github/workflows/test_php_ext.yml
+++ b/.github/workflows/test_php_ext.yml
@@ -17,12 +17,12 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Package extension
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: php_ext/${{ matrix.version }}
@@ -50,7 +50,7 @@
name: protobuf-php-release
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/php-extension:${{ matrix.version }}-a48f26c08d9a803dd0177dda63563f6ea6f7b2d4
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml
index e53a0cd..825a1fa 100644
--- a/.github/workflows/test_python.yml
+++ b/.github/workflows/test_python.yml
@@ -36,11 +36,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/python:{0}-63dd26c0c7a808d92673a3e52e848189d4ab0f17', matrix.version) }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -67,7 +67,7 @@
runs-on: macos-13
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
@@ -87,7 +87,7 @@
source venv/bin/activate
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
env:
KOKORO_PYTHON_VERSION: ${{ matrix.version }}
with:
diff --git a/.github/workflows/test_ruby.yml b/.github/workflows/test_ruby.yml
index 34eb7dc..52a07d8 100644
--- a/.github/workflows/test_ruby.yml
+++ b/.github/workflows/test_ruby.yml
@@ -32,11 +32,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:{0}-6.3.0-384d5abe83a791c6b1ce04f5d7bc0b1f84a30d38', matrix.ruby) }}
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -48,20 +48,20 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Cross compile protoc for i386
id: cross-compile
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-i386
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: i386/ruby:2.7.3-buster
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -80,20 +80,20 @@
runs-on: ubuntu-22-4core
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Cross compile protoc for aarch64
id: cross-compile
- uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v4
+ uses: protocolbuffers/protobuf-ci/cross-compile-protoc@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
architecture: linux-aarch64
- name: Run tests
- uses: protocolbuffers/protobuf-ci/docker@v4
+ uses: protocolbuffers/protobuf-ci/docker@v2.2.1
with:
image: arm64v8/ruby:2.7.3-buster
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -128,7 +128,7 @@
runs-on: macos-13
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
@@ -141,7 +141,7 @@
run: ruby --version | grep ${{ matrix.version }} || (echo "Invalid Ruby version - $(ruby --version)" && exit 1)
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: ruby_macos/${{ matrix.version }}
@@ -166,11 +166,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:${{ matrix.ruby }}-6.3.0-66964dc8b07b6d1fc73a5cc14e59e84c1c534cea
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml
index b2f1ed7..a7b0129 100644
--- a/.github/workflows/test_rust.yml
+++ b/.github/workflows/test_rust.yml
@@ -17,11 +17,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml
index 290aecf..26b630b 100644
--- a/.github/workflows/test_upb.yml
+++ b/.github/workflows/test_upb.yml
@@ -29,11 +29,11 @@
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/sanitize@sha256:04cd765285bc52cbbf51d66c8c66d8603579cf0f19cc42df26b09d2c270541fb
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -48,11 +48,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: "us-docker.pkg.dev/protobuf-build/containers/test/linux/gcc:12.2-6.3.0-63dd26c0c7a808d92673a3e52e848189d4ab0f17"
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -66,7 +66,7 @@
runs-on: windows-2022
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
@@ -74,7 +74,7 @@
cache: pip
cache-dependency-path: 'python/requirements.txt'
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: "upb-bazel-windows"
@@ -92,7 +92,7 @@
runs-on: macos-13
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
@@ -101,7 +101,7 @@
cache-dependency-path: 'python/requirements.txt'
python-version: '3.11' # 3.12 doesn't have setuptools
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel@v4
+ uses: protocolbuffers/protobuf-ci/bazel@v2.2.1
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: "upb-bazel-macos"
@@ -114,11 +114,11 @@
runs-on: ubuntu-latest
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Run tests
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:6.3.0-91a0ac83e968068672bc6001a4d474cfd9a50f1d
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
@@ -135,11 +135,11 @@
if: ${{ github.event_name != 'pull_request_target' }}
steps:
- name: Checkout pending changes
- uses: protocolbuffers/protobuf-ci/checkout@v4
+ uses: protocolbuffers/protobuf-ci/checkout@v2.2.1
with:
ref: ${{ inputs.safe-checkout }}
- name: Build Wheels
- uses: protocolbuffers/protobuf-ci/bazel-docker@v4
+ uses: protocolbuffers/protobuf-ci/bazel-docker@v2.2.1
with:
image: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:b3dc9b75d8e599b0e95ed245d89f44b5a4231112f975da89dd02006a484a58df
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}