-
Notifications
You must be signed in to change notification settings - Fork 69
Conversation
we would love this feature as well why has there been no activity on this PR yet? |
We have started to use RVM which takes .ruby-version using
|
I think people who are interested in this PR will have another problem even if after this PR has merged because available versions of Ruby are very limited so far in current virtual environments. AFAK Ruby versions has been maintained by virtual-environments. https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md If the version of Ruby you specified in |
FWIW, https://github.com/eregon/use-ruby-action supports recent Ruby versions and reading from @masa-iwasaki That sounds similar to https://github.com/clupprich/ruby-build-action, it might be worth to deduplicate. |
@eregon That's great! But one thing I am concerning about is current eregon/use-ruby-action ( eregon/ruby-install-builder, essentially) seems to support only the latest patch level of each version. https://github.com/eregon/ruby-install-builder/releases AFAIK,
I think most of Ruby applications ought to have time lags to catch up the latet patch level when new patch versions are released. Do you have a plan to support all patch levels of each maintained version of Rubies in eregon/use-ruby-action ? |
I can add more versions in But to some degree it's just more convenient if all MRI versions are available. I'll take a look at adding 2.5.5 and more soon. |
That's good to hear. I think there would be several reasons that developers can't upgrade to the latest patch soon (e.g. waiting production servers ready to be deployed, major features are exepected to going on public) . I will update README of setup-rbenv to encourge users to use use-ruby-action when the patch levels are available 😀 And I have also started reading ruby-build-action. I suppose I will submit some PRs to solve duplications. |
@masa-iwasaki All Ruby versions between 2.4.0 and 2.7.0 are now supported: |
@eregon Thanks for your actions ! I close this PR because what I wanted to implement was completely satisfiled by eregon/use-ruby-action and it seems to be that eregon/urse-ruby-action will become setup-ruby v2 based on the discussions at #44. Even if the future of setup-ruby changed, I beliveve that requests for supporting Many thanks for the folks who supported this PR ❤️ |
This PR is an implementation for #31 by reading the target version from
.ruby-version
before usingversion
parameter in workflows.