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

CI: Trust ruby/setup-ruby to install gems #290

Merged
merged 7 commits into from
Sep 23, 2024
Merged

Conversation

olleolleolle
Copy link
Member

@olleolleolle olleolleolle commented Sep 23, 2024

This PR changes the test CI setup to use as much knowledge as possible from the setup-ruby GH Action, keeping version number and such out of the file. For the yard-junk lint check, I did some steps.

Perhaps we can stop having the yard-junk check at all, we are not actively working on the docs of this project.

@olleolleolle olleolleolle merged commit 1866410 into main Sep 23, 2024
8 checks passed
@olleolleolle olleolleolle deleted the ci-trust-setup-ruby branch September 23, 2024 10:22
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true # 'bundle install' and cache gems
Copy link
Member

Choose a reason for hiding this comment

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

Oh this is very clever!
This way we don't need to guess the right bundler version, love it!

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.

2 participants