From d7323315fbca00723305f13fbd671e4f567ce343 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Tue, 23 Sep 2025 13:47:06 +0100 Subject: [PATCH] Update Gemfile dependencies and GitHub Actions workflow for improved compatibility - Upgraded Jekyll from 3.10.0 to 4.3.0 and updated related plugins for enhanced functionality. - Modified the Gemfile to specify versions for kramdown, kramdown-parser-gfm, and rouge. - Updated the GitHub Actions workflow to use Ruby 3.1 and optimized the bundler installation process. - Enhanced the Jekyll build command with version checks for better debugging and visibility. --- .github/workflows/deploy.yml | 12 +++++++++--- Gemfile | 11 ++++++----- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0e59a52..03ec031 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,19 +24,25 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '3.1' bundler-cache: true - name: Install dependencies run: | - bundle install + gem install bundler --version '~> 2.4' + bundle config set --local deployment 'true' + bundle config set --local without 'development test' + bundle install --jobs 4 --retry 3 - name: Setup Pages uses: actions/configure-pages@v4 - name: Build with Jekyll run: | - bundle exec jekyll build + echo "Ruby version: $(ruby --version)" + echo "Bundler version: $(bundle --version)" + echo "Jekyll version: $(bundle exec jekyll --version)" + bundle exec jekyll build --verbose env: JEKYLL_ENV: production diff --git a/Gemfile b/Gemfile index d02d6bc..a731f96 100644 --- a/Gemfile +++ b/Gemfile @@ -1,16 +1,17 @@ source 'https://rubygems.org' # Jekyll and core dependencies -gem 'jekyll', '~> 3.10.0' +gem 'jekyll', '~> 4.3.0' gem 'jekyll-feed', '~> 0.12' -gem 'jekyll-sitemap' -gem 'jekyll-seo-tag' +gem 'jekyll-sitemap', '~> 1.4' +gem 'jekyll-seo-tag', '~> 2.8' # Markdown processor -gem 'kramdown-parser-gfm' +gem 'kramdown', '~> 2.4' +gem 'kramdown-parser-gfm', '~> 1.1' # Syntax highlighting -gem 'rouge' +gem 'rouge', '~> 4.0' # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library.