From 25b1e8112079e6d463196fc137cc8d1925205426 Mon Sep 17 00:00:00 2001 From: Sandy Zhang Date: Tue, 26 Dec 2023 19:44:33 -0800 Subject: [PATCH] Update Ruby GHA to test against Ruby 3.3. Fixes #15182 PiperOrigin-RevId: 593899707 --- .github/workflows/test_ruby.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_ruby.yml b/.github/workflows/test_ruby.yml index 80b4db9c9a..726e0aa9c5 100644 --- a/.github/workflows/test_ruby.yml +++ b/.github/workflows/test_ruby.yml @@ -25,6 +25,7 @@ jobs: - { name: Ruby 3.0, ruby: ruby-3.0.2 } - { name: Ruby 3.1, ruby: ruby-3.1.0 } - { name: Ruby 3.2, ruby: ruby-3.2.0, ffi: NATIVE } + - { name: Ruby 3.3, ruby: ruby-3.3.0, ffi: NATIVE } # TODO Re-enable these once flakes are fixed #- { name: Ruby 3.2, ruby: ruby-3.2.0, ffi: FFI } - { name: JRuby 9.4, ruby: jruby-9.4.3.0, ffi: NATIVE } @@ -40,7 +41,7 @@ jobs: - name: Run tests uses: protocolbuffers/protobuf-ci/bazel-docker@v2 with: - image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:{0}-6.3.0-66964dc8b07b6d1fc73a5cc14e59e84c1c534cea', matrix.ruby) }} + image: ${{ matrix.image || format('us-docker.pkg.dev/protobuf-build/containers/test/linux/ruby:{0}-6.3.0-904cad5249547845454998ca3837a34c71fabf96', matrix.ruby) }} credentials: ${{ secrets.GAR_SERVICE_ACCOUNT }} bazel-cache: ruby_linux/${{ matrix.ruby }}_${{ matrix.bazel }} bazel: test //ruby/... //ruby/tests:ruby_version --test_env=KOKORO_RUBY_VERSION --test_env=BAZEL=true ${{ matrix.ffi == 'FFI' && '--//ruby:ffi=enabled --test_env=PROTOCOL_BUFFERS_RUBY_IMPLEMENTATION=FFI' || '' }}