From bbf006a9907a720e2d46445cdea0c1faca99ba32 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sat, 17 Apr 2021 02:34:03 +0900 Subject: [PATCH 1/2] simplify job --- .github/workflows/ci.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 584bbe1412..24e711b098 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,19 +6,9 @@ jobs: name: Jekyll Build steps: - uses: actions/checkout@v2 - - name: Set up Ruby - uses: eregon/use-ruby-action@master + - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 - - uses: actions/cache@v1 - with: - path: vendor/bundle - key: bundler-${{ hashFiles('**/Gemfile.lock')}} - restore-keys: | - bundler- - - name: bundle install - run: | - gem install bundler - bundle install --jobs 4 --retry 3 --path vendor/bundle + ruby-version: 3.0 + bundler-cache: true - name: Jekyll Build run: bundle exec jekyll build From f59b27c4c03c49423b7c63d4c73cf4fb9ff568fb Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sat, 17 Apr 2021 02:48:37 +0900 Subject: [PATCH 2/2] Add webrick --- Gemfile | 1 + Gemfile.lock | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 3900a54ba7..2ed5fdc0c3 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,7 @@ source 'https://rubygems.org' gem 'rake' +gem 'webrick' group :jekyll_plugins do gem 'github-pages' diff --git a/Gemfile.lock b/Gemfile.lock index cf867b593c..3a3c7cc700 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -259,6 +259,7 @@ GEM unf_ext unf_ext (0.0.7.7) unicode-display_width (1.7.0) + webrick (1.7.0) zeitwerk (2.4.2) PLATFORMS @@ -269,6 +270,7 @@ DEPENDENCIES jekyll-include-cache jekyll-toc rake + webrick BUNDLED WITH - 2.1.4 + 2.2.16