That? Why is this repository bad for Github Actions CI running on Ruby 3.0?

The information in this article may soon become out of date. I will leave it as information around December 26, 2020.

background

With the release of Ruby3.0, as I was working on adding 3.0 to the CI in the Github repository, I noticed something strange. It is unavoidable that Ruby3.0 does not run on Windows, and depending on the repository, Ruby3.0 may or may not be available on Ubuntu.

answer

There were two types of Action in the first place.

- uses: ruby/setup-ruby@v1

When

- uses: actions/setup-ruby@v1

Was a different thing. It's really confusing. As of December 26, 2020, 3.0 was only available for the former.

The former was committed by well-known Ruby officials such as eregon and Samuel Williams, and the latter was made by Github. I think the latter will probably support 3.0 sooner, but I personally would like to use the former.

That's all for this article.

Recommended Posts

That? Why is this repository bad for Github Actions CI running on Ruby 3.0?
CI for Maven project at Github Actions
Run Ruby on Rails RSpec tests with GitHub Actions
Use Coveralls with GitHub Actions in a Ruby repository
Try actions on GitHub [actions]
[Ruby on Rails] Understand why Set # include? Is so fast