Update hard-coded bazel version numbers in the CI workflows.

#test-continuous

PiperOrigin-RevId: 962521143
This commit is contained in:
Protobuf Team Bot 2026-08-10 20:12:34 -07:00 committed by Copybara-Service
parent 50f810693c
commit a362a3b2fc
11 changed files with 19 additions and 19 deletions

View file

@ -52,7 +52,7 @@ jobs:
# commit.
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: staleness
bash: >

View file

@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
runner: [ ubuntu, windows, macos ]
bazelversion: [ '8.6.0', '9.0.0' ]
bazelversion: [ '8.7.0', '9.2.0' ]
bzlmod: [ true, false ]
toolchain_resolution:
# Default flags, uses from prebuilt protoc
@ -36,7 +36,7 @@ jobs:
# Uses protoc from source.
- "--@com_google_protobuf//bazel/flags:prefer_prebuilt_protoc=false"
exclude:
- bazelversion: '9.0.0'
- bazelversion: '9.2.0'
bzlmod: false
runs-on: ${{ matrix.runner }}-latest
name: ${{ matrix.continuous-only && inputs.continuous-prefix || '' }} Examples ${{ matrix.runner }} ${{ matrix.bazelversion }}${{ matrix.bzlmod && ' (bzlmod)' || '' }} ${{ matrix.toolchain_resolution && ' (toolchain resolution)' || '' }}
@ -117,4 +117,4 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: "bazel-tests-${{ matrix.runner }}"
bazel: test //bazel/...
version: 8.6.0
version: 8.7.0

View file

@ -486,7 +486,7 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: ${{ matrix.bazel }}
bazel-cache: cpp_${{ matrix.cache_key }}
version: ${{ matrix.bazel_version || '8.0.1' }}
version: ${{ matrix.bazel_version || '8.7.0' }}
non-linux-cmake:
strategy:
@ -559,7 +559,7 @@ jobs:
if: ${{ matrix.install-flags && (!matrix.continuous-only || inputs.continuous-run) }}
uses: protocolbuffers/protobuf-ci/bash@v5
with:
bazel-version: 8.0.1
bazel-version: 8.7.0
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: >-
cmake . -DCMAKE_CXX_STANDARD=17 -Dprotobuf_BUILD_TESTS=ON ${{ matrix.install-flags }}
@ -586,7 +586,7 @@ jobs:
uses: protocolbuffers/protobuf-ci/bash@v5
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-version: 8.0.1
bazel-version: 8.7.0
command: >-
cmake . -DCMAKE_CXX_STANDARD=17 -Dprotobuf_BUILD_TESTS=ON ${{ matrix.flags }}
${{ env.SCCACHE_CMAKE_FLAGS }} -Dprotobuf_ALLOW_CCACHE=ON

View file

@ -65,7 +65,7 @@ jobs:
- name: Run tests
uses: protocolbuffers/protobuf-ci/bash@v5
with:
bazel-version: 9.0.0
bazel-version: 9.2.0
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
command: |
dotnet build csharp/src/Google.Protobuf.sln

View file

@ -70,7 +70,7 @@ jobs:
CODE_SIGN_IDENTITY: "-"
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-version: 9.0.0
bazel-version: 9.2.0
command: |
xcodebuild \
-project "objectivec/${{ matrix.xc_project }}" \
@ -113,7 +113,7 @@ jobs:
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: cocoapods/${{ matrix.XCODE }}
bash: |
@ -161,7 +161,7 @@ jobs:
if: ${{ !matrix.config.continuous-only || inputs.continuous-run }}
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: ${{ matrix.config.bazel_action }} ${{ matrix.config.flags }} ${{ matrix.bazel_targets }}
bazel-cache: objc_${{ matrix.platform }}_${{ matrix.config.name }}

View file

@ -204,7 +204,7 @@ jobs:
uses: protocolbuffers/protobuf-ci/bash@v5
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-version: 9.0.0
bazel-version: 9.2.0
# TODO this shouldn't be necessary, remove it
bazel-flags: --xcode_version_config=//.github:host_xcodes_macos15
command: |
@ -220,6 +220,6 @@ jobs:
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
bazel-cache: php_macos15/${{ matrix.version }}
bazel: test //php:conformance_test //php:conformance_test_c --action_env=PATH --test_env=PATH --xcode_version_config=//.github:host_xcodes_macos15

View file

@ -35,7 +35,7 @@ jobs:
- name: Package extension
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: php_ext/${{ matrix.version }}
bash: >

View file

@ -115,7 +115,7 @@ jobs:
env:
KOKORO_PYTHON_VERSION: ${{ matrix.version }}
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: python_macos/${{ matrix.type }}_${{ matrix.version }}
bazel: >-

View file

@ -173,7 +173,7 @@ jobs:
if: ${{ !matrix.continuous-only || inputs.continuous-run }}
uses: protocolbuffers/protobuf-ci/bazel@v5
with:
version: 9.0.0 # Bazel version
version: 9.2.0 # Bazel version
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: ruby_macos/${{ matrix.version }}
bazel: test //ruby/... --test_env=KOKORO_RUBY_VERSION=${{ matrix.version }} --test_env=BAZEL=true ${{ matrix.ffi == 'FFI' && '--//ruby:ffi=enabled --test_env=PROTOCOL_BUFFERS_RUBY_IMPLEMENTATION=FFI' || '' }}

View file

@ -73,4 +73,4 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel: run //rust/release_crates:cargo_test
bazel-cache: windows-cargo
version: 9.0.0
version: 9.2.0

View file

@ -74,7 +74,7 @@ jobs:
bazel-cache: "upb-bazel-windows"
# TODO: Enable python tests here once rules_python supports Windows better.
bazel: test //upb/... //upb_generator/...
version: 9.0.0
version: 9.2.0
exclude-targets: -//python:conformance_test -//upb/reflection:def_builder_test
macos:
@ -103,7 +103,7 @@ jobs:
credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }}
bazel-cache: "upb-bazel-macos"
bazel: ${{ matrix.config.bazel-command }} ${{ matrix.config.flags }} //benchmarks/... //lua/... //python/... //upb/... //upb_generator/...
version: 9.0.0
version: 9.2.0
build_wheels:
name: Build Wheels