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

(maint) Pin Ruby versions in GHA workflow #8851

Merged

Conversation

luchihoratiu
Copy link
Contributor

These changes are made to bypass issue seen in ruby/setup-ruby#252 and avoid similar issues in the future.

@luchihoratiu luchihoratiu requested a review from a team January 5, 2022 08:48
@luchihoratiu luchihoratiu requested a review from a team as a code owner January 5, 2022 08:48
@luchihoratiu luchihoratiu requested a review from a team January 5, 2022 08:48
@luchihoratiu luchihoratiu force-pushed the maint-pin-ruby3-version-gha branch 3 times, most recently from bb6af94 to a097fbb Compare January 5, 2022 10:55
@luchihoratiu luchihoratiu reopened this Jan 5, 2022
@luchihoratiu luchihoratiu force-pushed the maint-pin-ruby3-version-gha branch 2 times, most recently from e19f240 to f972421 Compare January 5, 2022 11:41
This commit updates rubygems to latest version to avoid the following
error: ``` Your RubyGems version (2.5.2.3)) has a bug that prevents
`required_ruby_version` from working for Bundler. Any scripts that use
`gem install bundler` will break as soon as Bundler drops support for
your Ruby version. Please upgrade RubyGems...  ```

This commit also removes an unnecessary step that installed `bundler` a
second time since the `ruby/setup-ruby@v1` action now also installs
bundler.
@joshcooper joshcooper merged commit 3b8b7ad into puppetlabs:main Jan 5, 2022
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