Skip to content

Commit 7cccf7f

Browse files
authored
Use Ruby 3 (#69)
* simplify job * Add webrick
1 parent b67c2a3 commit 7cccf7f

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,9 @@ jobs:
66
name: Jekyll Build
77
steps:
88
- uses: actions/checkout@v2
9-
- name: Set up Ruby
10-
uses: eregon/use-ruby-action@master
9+
- uses: ruby/setup-ruby@v1
1110
with:
12-
ruby-version: 2.7
13-
- uses: actions/cache@v1
14-
with:
15-
path: vendor/bundle
16-
key: bundler-${{ hashFiles('**/Gemfile.lock')}}
17-
restore-keys: |
18-
bundler-
19-
- name: bundle install
20-
run: |
21-
gem install bundler
22-
bundle install --jobs 4 --retry 3 --path vendor/bundle
11+
ruby-version: 3.0
12+
bundler-cache: true
2313
- name: Jekyll Build
2414
run: bundle exec jekyll build

Gemfile

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

33
gem 'rake'
4+
gem 'webrick'
45

56
group :jekyll_plugins do
67
gem 'github-pages'

Gemfile.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ GEM
259259
unf_ext
260260
unf_ext (0.0.7.7)
261261
unicode-display_width (1.7.0)
262+
webrick (1.7.0)
262263
zeitwerk (2.4.2)
263264

264265
PLATFORMS
@@ -269,6 +270,7 @@ DEPENDENCIES
269270
jekyll-include-cache
270271
jekyll-toc
271272
rake
273+
webrick
272274

273275
BUNDLED WITH
274-
2.1.4
276+
2.2.16

0 commit comments

Comments
 (0)