From 1b8e79e2d587ba612d4c84b65996e3eee2bdc1bd Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Fri, 17 Jul 2026 12:16:06 +0200 Subject: [PATCH 1/3] SH-1002 [CI] Update GitHub Actions versions Co-Authored-By: Claude Fable 5 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90e9a18..9669026 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: rack-version: "~>3.0.0" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 From 0728ae3575effcbdd19ab3231efa27ac46142c12 Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Fri, 17 Jul 2026 13:17:33 +0200 Subject: [PATCH 2/3] Update GitHub Actions runner to Ubuntu 24.04 --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9669026..7e6b2a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,6 +2,8 @@ name: build on: push: + branches: [main] + pull_request: schedule: - cron: '20 5 * * 1' workflow_dispatch: @@ -9,7 +11,7 @@ on: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false From a1f3e23a9a9e3afd4109de5d40399e49866f3a17 Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Fri, 17 Jul 2026 13:37:25 +0200 Subject: [PATCH 3/3] SH-1002 [CI] Align supported Ruby versions with logtail-ruby Ruby 2.3/2.4, pinned JRuby, and pinned TruffleRuby builds are not available on the ubuntu-24.04 runner; use the same interpreter list as logtail-ruby (2.5+ plus unpinned truffleruby). Ruby 2.5 keeps running against Rack ~>2.2 because its RubyGems ignores rack's required_ruby_version and would install a Rack that no longer works there. Co-Authored-By: Claude Fable 5 --- .github/workflows/main.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7e6b2a5..8ee7c42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,16 +26,21 @@ jobs: - "2.7" - "2.6" - "2.5" - - "2.4" - - "2.3" - - "jruby-9.4.3.0" - - "jruby-9.2.14.0" - - "truffleruby-23.0.0" - - "truffleruby-22.1.0" + - "truffleruby" rack-version: - "" # default Rack version + exclude: + # RubyGems on Ruby 2.5 ignores rack's required_ruby_version and + # installs a Rack that no longer runs on 2.5 — test it with a + # compatible Rack pinned below instead + - ruby-version: "2.5" + rack-version: "" + include: + - ruby-version: "2.5" + rack-version: "~>2.2" + - ruby-version: "2.7" rack-version: "~>1.2.0" - ruby-version: "2.7"