ruby / setup-ruby

An action to download a prebuilt Ruby and add it to the PATH in 5 seconds
https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
MIT License
799 stars 257 forks source link

Could Ruby 3.1.2 be offered #349

Closed hophacker closed 2 years ago

hophacker commented 2 years ago

Docker hub offers 3.1.2 but not 3.1.0, which means that official docker ruby image and github actions here cannot be supported at the same time for mature ruby 3 versions.

image
eregon commented 2 years ago

https://github.com/ruby/setup-ruby#versioning https://github.com/ruby/setup-ruby/blob/master/ruby-builder-versions.json

eregon commented 2 years ago

As in, can you just read what the error message says please? ;)

espen commented 2 years ago

I ran into this as well. I'm new to GH Actions but perhaps the rubyonrails.yml action template should reference ruby/setup-ruby@v1 instead of a specific commit?

eregon commented 2 years ago

Please file an issue to https://github.com/actions/starter-workflows about that (I agree it should be @v1 but GitHub has been reticent about it).