Skip to content

Commit 4b6cd5a

Browse files
committed
Drop support for ruby <3
1 parent 23d9ce0 commit 4b6cd5a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@ jobs:
1919
ruby_version: ${{ steps.ruby_version.outputs.versions }}
2020
steps:
2121
- uses: actions/checkout@v5
22+
- id: ruby_version
23+
uses: voxpupuli/ruby-version@v1
2224
- name: Setup Ruby
2325
uses: ruby/setup-ruby@v1
2426
with:
25-
ruby-version: 2.7
27+
# The output is a list of ruby versions in descending order
28+
ruby-version: ${{ fromJSON(steps.ruby_version.outputs.versions)[fromJSON(steps.ruby_version.outputs.versions).length - 1] }}
2629
bundler-cache: true
2730
- name: Run rubocop
2831
run: bundle exec rubocop
29-
- id: ruby_version
30-
uses: voxpupuli/ruby-version@v1
3132

3233
test:
3334
runs-on: ubuntu-latest

dynflow.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
1818
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
1919
s.require_paths = ["lib"]
2020

21-
s.required_ruby_version = '>= 2.7.0'
21+
s.required_ruby_version = '>= 3.0.0'
2222

2323
s.add_dependency "algebrick", '~> 0.7.0'
2424
s.add_dependency "concurrent-ruby", '~> 1.1.3'

0 commit comments

Comments
 (0)