From 76e27bcfef5efbfdde4dd0fe794bc2f2f9bf53ef Mon Sep 17 00:00:00 2001 From: Karsten Thoms Date: Mon, 27 Apr 2026 08:00:35 +0200 Subject: [PATCH 1/2] chore: Update ruby & setup-ruby action --- .github/workflows/jekyll.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 61f2d80..c1f01a4 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,10 +34,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Ruby - # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0 - uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 + # https://github.com/ruby/setup-ruby/releases/tag/v1.305.0 + uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f with: - ruby-version: '3.1' # Not needed with a .ruby-version file + ruby-version: '3.3.11' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems - name: Setup Pages From cd169510e118df0daa4ce408505eb59120170d54 Mon Sep 17 00:00:00 2001 From: Karsten Thoms Date: Mon, 27 Apr 2026 08:11:53 +0200 Subject: [PATCH 2/2] fix: update liquid gem to 4.0.4 to fix Ruby 3.3 compatibility liquid 4.0.3 calls String#tainted? which was removed in Ruby 3.2+, causing the Jekyll build to fail with NoMethodError. Upgrading to 4.0.4 removes that call. Also add .devenv/scripts/ci/run-act.sh to test the workflow locally with act. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .devenv/scripts/ci/run-act.sh | 10 ++++++++++ Gemfile.lock | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 .devenv/scripts/ci/run-act.sh diff --git a/.devenv/scripts/ci/run-act.sh b/.devenv/scripts/ci/run-act.sh new file mode 100755 index 0000000..e1b5ba6 --- /dev/null +++ b/.devenv/scripts/ci/run-act.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# Runs the Jekyll CI workflow locally using act (https://github.com/nektos/act). +# Usage: .devenv/scripts/ci/run-act.sh [act options] +set -euo pipefail + +cd "$(git rev-parse --show-toplevel)" + +exec act push \ + --job build \ + "$@" diff --git a/Gemfile.lock b/Gemfile.lock index ba7455b..dc4e829 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -44,7 +44,7 @@ GEM rexml (>= 3.3.9) kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - liquid (4.0.3) + liquid (4.0.4) listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) @@ -72,4 +72,4 @@ DEPENDENCIES jekyll (~> 4.4.1) BUNDLED WITH - 4.0.8 + 4.0.10