diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 5f8c520..46b6ab6 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -17,7 +17,7 @@ jobs: uses: ruby/setup-ruby@v1 with: bundler-cache: true - ruby-version: '3.0' + ruby-version: '3.1' - name: rubocop uses: reviewdog/action-rubocop@v2 diff --git a/.github/workflows/ruby_test.yml b/.github/workflows/ruby_test.yml index 23a1b13..8209214 100644 --- a/.github/workflows/ruby_test.yml +++ b/.github/workflows/ruby_test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1'] + ruby-version: ["3.1", "3.2", "3.3"] steps: - uses: actions/checkout@v3 - name: Set up Ruby diff --git a/.rubocop.yml b/.rubocop.yml index fdc38b5..400716a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - rubocop-performance AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.1 DisplayCopNames: true Exclude: - bin/**/* diff --git a/mato.gemspec b/mato.gemspec index 97129cb..e12cf78 100644 --- a/mato.gemspec +++ b/mato.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.7" + spec.required_ruby_version = "~> 3.1" spec.add_runtime_dependency "commonmarker", "~> 1.0" spec.add_runtime_dependency "markly", "~> 0.9"