File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments