From d7e7d28145e7e8b5f5a8d4123c1549b9c1c2edb5 Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 28 Oct 2026 09:50:40 +0100 Subject: [PATCH 1/5] build(API): bump setup-ruby for ubuntu-26.04 runners Pin ruby/setup-ruby to v1.335.0 and point lawa-ci at phrase/actions main, which includes the same bump. The old v1.178.0 pin reports ubuntu-26.04 runners as self-hosted and fails. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/test-cli.yml | 4 ++-- .github/workflows/test-go.yml | 2 +- .github/workflows/test-java.yml | 2 +- .github/workflows/test-php.yml | 2 +- .github/workflows/test-python.yml | 2 +- .github/workflows/test-ruby.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index e4c0a5b82..735079309 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -43,7 +43,7 @@ jobs: go build . go test -v ./... - name: Install Ruby and rspec - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: '3.2' bundler-cache: true @@ -53,7 +53,7 @@ jobs: cd ./clients/cli bundle exec rspec --format documentation - name: License check - uses: phrase/actions/lawa-ci@v1 + uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 70aa9e770..1ebc60278 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -17,7 +17,7 @@ jobs: cd ./clients/go go test ./... -v - name: License check - uses: phrase/actions/lawa-ci@v1 + uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml diff --git a/.github/workflows/test-java.yml b/.github/workflows/test-java.yml index 1b7301a9e..0cd909ee7 100644 --- a/.github/workflows/test-java.yml +++ b/.github/workflows/test-java.yml @@ -20,7 +20,7 @@ jobs: build-root-directory: ./clients/java arguments: test --info - name: License check - uses: phrase/actions/lawa-ci@v1 + uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 1f86406f7..37f4efb3c 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -19,7 +19,7 @@ jobs: version: '12.1' configuration: ./clients/php/phpunit.xml.dist - name: License check - uses: phrase/actions/lawa-ci@v1 + uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index eb9bdce62..ca3d4926d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,7 +20,7 @@ jobs: pip install -r requirements.txt -r test-requirements.txt pytest - name: License check - uses: phrase/actions/lawa-ci@v1 + uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 85359ef5e..b98283049 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -10,7 +10,7 @@ jobs: npm install npm run generate.ruby - name: Set up Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: 3.2.1 # runs 'bundle install' and caches installed gems automatically From c2fa006889dc222e443d62db130099548a35ce7d Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 28 Oct 2026 09:53:50 +0100 Subject: [PATCH 2/5] build(API): pass a Ruby 3.3-compatible bundler to lawa-ci bundler 2.1.4 (lawa-ci default) overflows the stack on Ruby 3.3. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/test-cli.yml | 1 + .github/workflows/test-go.yml | 1 + .github/workflows/test-java.yml | 1 + .github/workflows/test-php.yml | 1 + .github/workflows/test-python.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index 735079309..760edbd25 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -55,6 +55,7 @@ jobs: - name: License check uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: + ruby-bundler-version: 2.5.23 github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml working-directory: clients/cli diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 1ebc60278..006fc0981 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -19,6 +19,7 @@ jobs: - name: License check uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: + ruby-bundler-version: 2.5.23 github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml working-directory: clients/go diff --git a/.github/workflows/test-java.yml b/.github/workflows/test-java.yml index 0cd909ee7..936cd1cba 100644 --- a/.github/workflows/test-java.yml +++ b/.github/workflows/test-java.yml @@ -22,6 +22,7 @@ jobs: - name: License check uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: + ruby-bundler-version: 2.5.23 github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml working-directory: clients/java diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 37f4efb3c..2dc30f575 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -21,6 +21,7 @@ jobs: - name: License check uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: + ruby-bundler-version: 2.5.23 github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml working-directory: clients/php diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index ca3d4926d..0f7d05924 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -22,6 +22,7 @@ jobs: - name: License check uses: phrase/actions/lawa-ci@d2b850633ae97af7b9e7507bdb8ed8c8e2f3da5d # main, includes setup-ruby v1.335.0 with: + ruby-bundler-version: 2.5.23 github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} decisions-file: .license-decisions.yml working-directory: clients/python From 2f2e3b89d326525849ded4444c82414d85451b9a Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 28 Oct 2026 09:56:11 +0100 Subject: [PATCH 3/5] build(API): use latest Ruby 3.2.x in test-ruby Only the latest patch of each series is built for ubuntu-26.04. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/test-ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index b98283049..45e09fe56 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: - ruby-version: 3.2.1 + ruby-version: '3.2' # runs 'bundle install' and caches installed gems automatically bundler-cache: true working-directory: ./clients/ruby From cddc5e64ad7885058b82db3a86343797da1fd077 Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 28 Oct 2026 09:57:11 +0100 Subject: [PATCH 4/5] build(API): run lawa npm check on Ruby 3.3 No Ruby 3.1.x is built for ubuntu-26.04; bundler 2.1.4 does not work on 3.3. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/lawa.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lawa.yml b/.github/workflows/lawa.yml index 366e32b69..993b4300d 100644 --- a/.github/workflows/lawa.yml +++ b/.github/workflows/lawa.yml @@ -6,7 +6,8 @@ jobs: uses: phrase/actions/.github/workflows/lawa-npm-ci.yml@main with: node-version: "24.14.1" - ruby-version: 3.1.3 + ruby-version: "3.3" + ruby-bundler-version: 2.5.23 decisions-file: config/license-decisions.yml secrets: github-token: ${{ secrets.GH_LAWA_ACCESS_TOKEN }} From 07fe3e85b9ea49f8ef3716a44906093a1ab30fd9 Mon Sep 17 00:00:00 2001 From: Mladen Jablanovic Date: Wed, 28 Oct 2026 10:00:09 +0100 Subject: [PATCH 5/5] fix(ruby): bump rubocop dev dependency to 1.x in Ruby client template rubocop 0.66 pins jaro_winkler 1.5.x, whose native extension no longer builds on ubuntu-26.04 (GCC 15), breaking test-ruby. Co-Authored-By: Claude Sonnet 5.5 --- openapi-generator/templates/ruby-client/Gemfile.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi-generator/templates/ruby-client/Gemfile.mustache b/openapi-generator/templates/ruby-client/Gemfile.mustache index 794aff39f..0ec701aa0 100644 --- a/openapi-generator/templates/ruby-client/Gemfile.mustache +++ b/openapi-generator/templates/ruby-client/Gemfile.mustache @@ -5,6 +5,6 @@ gemspec group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' - gem 'rubocop', '~> 0.66.0' + gem 'rubocop', '~> 1.0' gem 'webmock' end