Skip to content

Commit 502d079

Browse files
authored
Do not enforce Ruby version (#1811)
1 parent ffd1223 commit 502d079

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323

24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4 # https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
26+
with:
27+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
28+
2429
- name: Set up Node.js
2530
uses: actions/setup-node@v4
2631
with:
@@ -32,6 +37,9 @@ jobs:
3237
- name: Run tests
3338
shell: bash
3439
run: npm test
40+
41+
- name: Jekyll Build
42+
run: bundle exec jekyll build
3543

3644
- name: Check Docker support
3745
shell: bash

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.5
1+
3.3.3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use the official Ruby image as the base
2-
FROM ruby:3.3.5
2+
FROM ruby:3.3.3
33

44
# Install Jekyll and Bundler
55
RUN gem install jekyll bundler

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
source 'https://rubygems.org'
22

3-
ruby '3.3.5'
4-
53
gem 'github-pages', group: :jekyll_plugins
64
gem 'webrick'
75

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,5 @@ DEPENDENCIES
275275
github-pages
276276
webrick
277277

278-
RUBY VERSION
279-
ruby 3.3.5p100
280-
281278
BUNDLED WITH
282279
2.5.16

0 commit comments

Comments
 (0)