From b40c87df01fa83b37c671b7e123b0149effeac6a Mon Sep 17 00:00:00 2001 From: maximthomas Date: Tue, 20 Oct 2026 15:54:54 +0300 Subject: [PATCH 1/3] Pin the build runner to ubuntu-24.04 ubuntu-latest now resolves to ubuntu-26.04, and ruby/setup-ruby has no Ruby 3.1 build for that image, so the build job fails on every run: "Unavailable version 3.1.7 for ruby on ubuntu-26.04". ruby/ruby-builder still ships Ruby 3.1.7 for ubuntu-24.04, so pin the runner and keep the Ruby version. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 598e335..cbb0f09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,9 @@ on: jobs: build: - runs-on: ubuntu-latest + # Pinned: ubuntu-latest now resolves to ubuntu-26.04, and ruby/ruby-builder has no + # Ruby 3.1 build for that image. Unpin once ruby-version is raised to a release that has one. + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 From 5fe2d6dd860c2ebc40d0a9e0290d13c9acb38b2f Mon Sep 17 00:00:00 2001 From: maximthomas Date: Fri, 23 Oct 2026 09:55:40 +0300 Subject: [PATCH 2/3] Build with Ruby 3.3 instead of pinning the runner ruby/ruby-builder has a Ruby 3.3 build for ubuntu-26.04, the image ubuntu-latest resolves to, so raise ruby-version from 3.1 to 3.3 and drop the ubuntu-24.04 pin. 3.3 is also the series GitHub Pages builds this site with (pages.github.com/versions.json). Use the series form: newer runner images only get the latest patch of each series, so an exact older patch would fail to install again. --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbb0f09..326fb01 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,15 +7,15 @@ on: jobs: build: - # Pinned: ubuntu-latest now resolves to ubuntu-26.04, and ruby/ruby-builder has no - # Ruby 3.1 build for that image. Unpin once ruby-version is raised to a release that has one. - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # Same Ruby series as the GitHub Pages build (https://pages.github.com/versions.json). + # Newer runner images only get the latest patch of each series, so keep the series form. - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' + ruby-version: '3.3' bundler-cache: true - name: Build site From b5fcc85cf4edfb963e450ccb69766ec590d50cda Mon Sep 17 00:00:00 2001 From: maximthomas Date: Fri, 23 Oct 2026 09:55:41 +0300 Subject: [PATCH 3/3] Update actions/checkout to v7 v4 targets Node.js 20, and the runner logs a deprecation warning for it. v7 runs on Node.js 24. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 326fb01..a1a0b1a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # Same Ruby series as the GitHub Pages build (https://pages.github.com/versions.json). # Newer runner images only get the latest patch of each series, so keep the series form.