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.
This commit is contained in:
Z. Cliffe Schreuders
2025-09-23 13:47:06 +01:00
parent d9916de287
commit d7323315fb
2 changed files with 15 additions and 8 deletions

View File

@@ -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