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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ruby/setup-ruby Action for CI Workflow #5100

Merged
merged 5 commits into from Dec 2, 2020

Conversation

lildude
Copy link
Member

@lildude lildude commented Dec 2, 2020

Description

We seem to have started to hit a problem with the 2.5 builds thanks to actions/setup-ruby apparently no longer including bundler by default, so CI fails with:

script/ci/install_deps: 17: script/ci/install_deps: bundle: not found

This PR addresses that by switching us to the more actively maintained ruby/setup-ruby action which takes care of installing bundler, gems and caching for us.

I've also taken the chance to simplify things and move the checking out of the all the grammar submodules to the workflow itself and removed the old script.

This new setup with ruby/setup-ruby also appears to cut about 2 minutes off the entire CI run too 馃帀

I'll update the required checks when this is ready to be merged.

@lildude
Copy link
Member Author

lildude commented Dec 2, 2020

I'll update the required checks when this is ready to be merged.

Done. Merging. Thanks for the quick review @Alhadis 馃檱

@lildude lildude merged commit 8e13a99 into master Dec 2, 2020
@lildude lildude deleted the lildude/switch-ruby-action branch December 2, 2020 12:34
@Alhadis
Copy link
Collaborator

Alhadis commented Dec 2, 2020

I'd literally just finished scanning the CI logs to figure out what went wrong. 馃槀

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.

None yet

2 participants