Skip to content

Commit

Permalink
Bump up required ruby version to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Moeki Kawakami committed Mar 4, 2024
1 parent 7b9a8b7 commit 28ec024
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require:
- rubocop-performance

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.1
DisplayCopNames: true
Exclude:
- bin/**/*
Expand Down
2 changes: 1 addition & 1 deletion mato.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.0"
spec.add_runtime_dependency "markly", ">= 0.9.1"
Expand Down

0 comments on commit 28ec024

Please sign in to comment.