build(deps): upgrade rubygem-deps

Ruby 2.x has passed its end of life and is now unsupported.
This commit is contained in:
Cotes Chung 2023-11-06 04:06:02 +08:00
parent 2bf87e0de7
commit 18808851a9
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 3 additions and 7 deletions

View file

@ -19,10 +19,6 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, 3]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -32,7 +28,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
ruby-version: 3
bundler-cache: true
- name: Setup Node

View file

@ -23,12 +23,12 @@ Gem::Specification.new do |spec|
"plugin_type" => "theme"
}
spec.required_ruby_version = ">= 2.6"
spec.required_ruby_version = ">= 3.0"
spec.add_runtime_dependency "jekyll", "~> 4.3"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.7"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8"
spec.add_runtime_dependency "jekyll-archives", "~> 2.2"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.2"