Downgrade Gemfile dependencies and update GitHub Actions workflow for compatibility

- Downgraded Jekyll from 4.3.0 to 4.0.0 and kramdown from 2.4 to 2.3 for better compatibility with existing plugins.
- Updated rouge version from 4.0 to 3.26 in the Gemfile.
- Changed Ruby version in the GitHub Actions workflow from 3.1 to 3.0.
- Streamlined the bundler installation process in the workflow for improved efficiency.
This commit is contained in:
Z. Cliffe Schreuders
2025-09-23 13:50:38 +01:00
parent d7323315fb
commit a2edd36b5b
2 changed files with 7 additions and 8 deletions

View File

@@ -24,15 +24,14 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: '3.0'
bundler-cache: true
- name: Install dependencies
run: |
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
gem install bundler
bundle config set --local path 'vendor/bundle'
bundle install
- name: Setup Pages
uses: actions/configure-pages@v4

View File

@@ -1,17 +1,17 @@
source 'https://rubygems.org'
# Jekyll and core dependencies
gem 'jekyll', '~> 4.3.0'
gem 'jekyll', '~> 4.0.0'
gem 'jekyll-feed', '~> 0.12'
gem 'jekyll-sitemap', '~> 1.4'
gem 'jekyll-seo-tag', '~> 2.8'
# Markdown processor
gem 'kramdown', '~> 2.4'
gem 'kramdown', '~> 2.3'
gem 'kramdown-parser-gfm', '~> 1.1'
# Syntax highlighting
gem 'rouge', '~> 4.0'
gem 'rouge', '~> 3.26'
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.