From fb367b8c4c282d74820e1b27f2f3d23fba279306 Mon Sep 17 00:00:00 2001 From: Bennett Sorbo Date: Thu, 12 Nov 2026 13:11:18 -0800 Subject: [PATCH] Bump ruby/setup-ruby to v1.335.0 on pre-1.0 `ubuntu-latest` now resolves to ubuntu-26.04, which setup-ruby v1.229.0 doesn't recognize. It treats the runner as self-hosted, skips resolving `ruby-version: ruby` to a concrete version, and fails with "Could not convert version to a float". v1.335.0 (already used on main) supports ubuntu-26.04. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/publish-site.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/update-gem-version-artifacts.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 34896159d..5d0477018 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,7 +60,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically @@ -103,7 +103,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: "3.4" bundler-cache: true # runs 'bundle install' and caches installed gems automatically diff --git a/.github/workflows/publish-site.yaml b/.github/workflows/publish-site.yaml index d85d9847f..fe11e3d3a 100644 --- a/.github/workflows/publish-site.yaml +++ b/.github/workflows/publish-site.yaml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: "3.4" bundler-cache: true # runs 'bundle install' and caches installed gems automatically diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f18da9877..60ec82199 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -44,7 +44,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: working-directory: config/release bundler-cache: true diff --git a/.github/workflows/update-gem-version-artifacts.yaml b/.github/workflows/update-gem-version-artifacts.yaml index afd1177e5..f124fcaa4 100644 --- a/.github/workflows/update-gem-version-artifacts.yaml +++ b/.github/workflows/update-gem-version-artifacts.yaml @@ -32,7 +32,7 @@ jobs: token: ${{ secrets.PAT_FOR_PUSHING_AND_TRIGGERING_CI }} - name: Set up Ruby - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: "3.4" bundler-cache: true