From 269506b64772608096cacc3beccccd580c090d52 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 18 Jan 2023 23:13:06 +0800 Subject: [PATCH] chore(deps): liquid(v4.0.4) is compatible with ruby 3.2 (#854) See: https://github.com/jekyll/jekyll/issues/9231 --- .github/workflows/ci.yml | 2 +- .github/workflows/pages-deploy.yml.hook | 2 +- jekyll-theme-chirpy.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a927d91..fcfc88a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - ruby: ['2.7', '3.0', '3.1'] + ruby: [2.7, 3] steps: - name: Checkout diff --git a/.github/workflows/pages-deploy.yml.hook b/.github/workflows/pages-deploy.yml.hook index fed62a9..356d42a 100644 --- a/.github/workflows/pages-deploy.yml.hook +++ b/.github/workflows/pages-deploy.yml.hook @@ -42,7 +42,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted + ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted bundler-cache: true - name: Build site diff --git a/jekyll-theme-chirpy.gemspec b/jekyll-theme-chirpy.gemspec index 9c2aa94..57d92e5 100644 --- a/jekyll-theme-chirpy.gemspec +++ b/jekyll-theme-chirpy.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| "plugin_type" => "theme" } - spec.required_ruby_version = [">= 2.5", "< 3.2"] + spec.required_ruby_version = ">= 2.6" spec.add_runtime_dependency "jekyll", "~> 4.3" spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"