fastruby / next_rails

A toolkit to upgrade your next Rails application
https://www.fastruby.io/blog/upgrade-rails/dual-boot/dual-boot-with-rails-6-0-beta.html?utm_source=github&utm_medium=description&utm_campaign=github&utm_term=next-rails
MIT License
466 stars 28 forks source link

Fix Ruby 2.2 setup in github action #101

Closed arielj closed 1 year ago

arielj commented 1 year ago

When the tests start to run, the Ruby 2.2 tests have a bug that makes it fail and that produces a cancellation of all the other jobs in that matrix.

Seems to be a known issue and this PR adds the proposed workaround from this bug report https://github.com/ruby/setup-ruby/issues/496#issuecomment-1520667671 running 2.2 and older in a previous version of Ubuntu instead of Ubuntu latest

You can see in the other 2 latest PRs that it was failing for 2.2 always, and I ran all the versions manually for https://github.com/fastruby/next_rails/pull/100 and 2.2 keeps failing

image image