Skip to content

Add missing ruby versions to CI file #504

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

Closed
wants to merge 0 commits into from

Conversation

guillermoap
Copy link
Contributor

On #444 I missed 2 places that needed the ruby version set

@guillermoap guillermoap requested a review from a team October 24, 2023 18:28
@@ -30,6 +30,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2.2'
Copy link
Member

Choose a reason for hiding this comment

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

but this wasn't necessary before, right? why is it needed now?

Copy link
Member

Choose a reason for hiding this comment

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

image

I think it's automatically set with the .ruby-version

Copy link
Contributor

@jpascual1994 jpascual1994 Oct 24, 2023

Choose a reason for hiding this comment

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

It's not needed, by default, it uses the .ruby-version
https://github.com/ruby/setup-ruby#single-job

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you're right: ruby-version: '3.2' # Not needed with a .ruby-version file
I had to put that becuase even though the ruby-version was set to 3.2 it was still using the last version in the CI.
Maybe it had to do with the cache 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove it from all places and check which version it's using

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hadn't refreshed, you are both right

@guillermoap guillermoap force-pushed the add-missing-ruby-versions branch from 937caac to 6803ff8 Compare October 24, 2023 19:08
@guillermoap guillermoap deleted the add-missing-ruby-versions branch October 24, 2023 19:09
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.

4 participants