diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml index 3bb315b15f..0b9d73a4cd 100644 --- a/.github/workflows/staleness_check.yml +++ b/.github/workflows/staleness_check.yml @@ -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: > diff --git a/.github/workflows/test_bazel.yml b/.github/workflows/test_bazel.yml index 0e694e5c3b..3749d7a743 100644 --- a/.github/workflows/test_bazel.yml +++ b/.github/workflows/test_bazel.yml @@ -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 diff --git a/.github/workflows/test_cpp.yml b/.github/workflows/test_cpp.yml index 5b2f7d4a17..14039d7f2b 100644 --- a/.github/workflows/test_cpp.yml +++ b/.github/workflows/test_cpp.yml @@ -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 diff --git a/.github/workflows/test_csharp.yml b/.github/workflows/test_csharp.yml index a39c9ceea1..6ee40b513c 100644 --- a/.github/workflows/test_csharp.yml +++ b/.github/workflows/test_csharp.yml @@ -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 diff --git a/.github/workflows/test_objectivec.yml b/.github/workflows/test_objectivec.yml index 0f4b3eef00..81860a5b20 100644 --- a/.github/workflows/test_objectivec.yml +++ b/.github/workflows/test_objectivec.yml @@ -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 }} diff --git a/.github/workflows/test_php.yml b/.github/workflows/test_php.yml index bcdebae637..634b143d15 100644 --- a/.github/workflows/test_php.yml +++ b/.github/workflows/test_php.yml @@ -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 diff --git a/.github/workflows/test_php_ext.yml b/.github/workflows/test_php_ext.yml index bfb78d6d52..53a7285fce 100644 --- a/.github/workflows/test_php_ext.yml +++ b/.github/workflows/test_php_ext.yml @@ -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: > diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 911f752533..8797e75a5c 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -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: >- diff --git a/.github/workflows/test_ruby.yml b/.github/workflows/test_ruby.yml index ae92e21213..8242d655ed 100644 --- a/.github/workflows/test_ruby.yml +++ b/.github/workflows/test_ruby.yml @@ -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' || '' }} diff --git a/.github/workflows/test_rust.yml b/.github/workflows/test_rust.yml index 0186cff443..83feff7587 100644 --- a/.github/workflows/test_rust.yml +++ b/.github/workflows/test_rust.yml @@ -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 diff --git a/.github/workflows/test_upb.yml b/.github/workflows/test_upb.yml index 1f16302094..214ca2a572 100644 --- a/.github/workflows/test_upb.yml +++ b/.github/workflows/test_upb.yml @@ -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