Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby: add ruby 2.7 and 3.0 into bootstrap script #766

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

chenrui333
Copy link
Contributor

@chenrui333 chenrui333 commented Jan 2, 2021

ruby: add ruby 2.7 and 3.0 into bootstrap script


relates to https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/

@chenrui333
Copy link
Contributor Author

chenrui333 commented Jan 4, 2021

refreshed the PR against the latest main branch

Copy link
Contributor

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it's better or not to have a matrix example in the starter workflow.
To me, a matrix feels like an orthogonal concern, and any workflow can of course be augmented with a matrix.
So I think it'd be better to just ruby-version: '3.0' here and no matrix.

Related: #769

ci/ruby.yml Outdated Show resolved Hide resolved
ci/ruby.yml Outdated Show resolved Hide resolved
@eregon
Copy link
Contributor

eregon commented Jan 5, 2021

If we merge this, let's squash it to avoid back-and-forth history and extra merges.

sync with main branch

quote versions

remove redundant bundle install

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333
Copy link
Contributor Author

squashed all my commits.

Comment on lines +21 to +22
matrix:
ruby-version: ['2.6', '2.7', '3.0']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a matrix seems good to me and aligns with our other CI workflows (Python, Node).

@joshmgross joshmgross merged commit d36b72e into actions:main Jan 5, 2021
@joshmgross
Copy link
Member

Thanks for your contributions! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants