sds / overcommit

A fully configurable and extendable Git hook manager
MIT License
3.91k stars 280 forks source link

rspec (2.6, *) workflows fail due to Rubocop version not supporting Ruby 2.6 #827

Closed fulf closed 6 months ago

fulf commented 6 months ago

As of #818, Ruby 2.6 test workflows fail with the following error:

Could not find compatible versions

Because rubocop >= 1.51.0 depends on Ruby >= 2.7.0
  and Gemfile depends on rubocop = 1.59.0,
  Ruby >= 2.7.0 is required.
So, because current Ruby version is = 2.6.10,
  version solving has failed.
Error: The process '/opt/hostedtoolcache/Ruby/2.6.10/x64/bin/bundle' failed with exit code 6