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

Cleanup ruby usage in workflows and gemspec dependency versioning #590

Merged
merged 13 commits into from
Dec 22, 2022

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented Dec 22, 2022

This PR is meant to improve the general hygiene of this repo relating to actions workflows and gem requirements

  1. Updates actions workflows to remove specific caching of gems installed by script/bootstrap, and instead use the built-in caching mechanism from ruby/setup-ruby
    • script/boostrap is no longer used in CI
  2. Updates actions workflows to use the ruby version from .ruby-version instead of manually setting a version in every job'
  3. Updates .ruby-version to 3.1.3, the latest stable release, and updates the tested versions of ruby and bundler in CI
    • Licensed no longer needs to target ruby 2.6 now that exes aren't packaged and included in releases
  4. Bumps the gem's required ruby version to >= 2.6 to remove the explicit dependency on bundler
    • bundler is included in ruby 2.6+ at versions that licensed supports
  5. Sets specific dependency versions in the gemspec file which should trigger dependabot to keep dependencies up to date

jonabc and others added 6 commits December 22, 2022 14:31
- use setup-ruby's builtin caching
- normalize to using .ruby-version file in CI jobs
   to test on latest ruby in CI
bump required ruby version to >= 2.6, which includes
bundler by default with ruby installs
and use dependabot to update versions
@jonabc
Copy link
Contributor Author

jonabc commented Dec 22, 2022

The licensed-ci GitHub Action has created a pull request containing license metadata updates based on the changes in this branch.

Please review the pull request for any additional changes required and merge when ready.

@jonabc jonabc merged commit d117089 into master Dec 22, 2022
@jonabc jonabc deleted the cleanup-ruby-usage branch December 22, 2022 22:46
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.

1 participant