From 18808851a9384a58b9223b7f437fb0deb27e138d Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 6 Nov 2023 04:06:02 +0800 Subject: [PATCH] build(deps): upgrade rubygem-deps Ruby 2.x has passed its end of life and is now unsupported. --- .github/workflows/ci.yml | 6 +----- jekyll-theme-chirpy.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec16db0..ee81876 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec index 0809ed4..c64f14d 100644 --- a/jekyll-theme-chirpy.gemspec +++ b/jekyll-theme-chirpy.gemspec @@ -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"