-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
Improve CI #512
Improve CI #512
Conversation
WalkthroughThe changes involve the addition of a new Rails gemfile, Changes
Poem
Recent review detailsConfiguration used: CodeRabbit UI Files ignored due to path filters (2)
Files selected for processing (7)
Files skipped from review due to trivial changes (4)
Additional comments not posted (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (2)
Gemfile.lock
is excluded by!**/*.lock
spec/dummy/yarn.lock
is excluded by!**/yarn.lock
,!**/*.lock
Files selected for processing (2)
- .github/workflows/ruby.yml (1 hunks)
- gemfiles/Gemfile-rails.7.2.x (1 hunks)
Additional comments not posted (3)
gemfiles/Gemfile-rails.7.2.x (1)
1-12
: LGTM!The new
Gemfile-rails.7.2.x
file is well-structured and includes the necessary dependencies for Rails 7.2.x. The file specifies the following:
- The source for Ruby gems (
https://rubygems.org
).- A git source for custom repositories.
- The path to the gemspec file.
- The Rails gem with version constraint
~>7.2.0
.- The Arel gem from the Rails GitHub repository.
- The Rake gem with a minimum version of 11.1.
- The rack-proxy gem with the
require: false
option.- The rspec-rails gem for testing with version
~> 6.0.0
.- The byebug gem for debugging.
The dependencies are appropriate for a Rails 7.2.x application and do not raise any concerns.
.github/workflows/ruby.yml (2)
44-44
: LGTM!The addition of
gemfiles/Gemfile-rails.7.2.x
to the list of gemfiles enables testing with Rails 7.2.x in the GitHub Actions workflow. This change is consistent with the existing structure and ensures that the workflow covers the latest supported Rails version.
49-52
: LGTM!The exclusion criteria for Ruby versions 2.7 and 3.0 when using
gemfiles/Gemfile-rails.7.2.x
are appropriate. This ensures that these older Ruby versions are not used with Rails 7.2.x, maintaining compatibility and avoiding potential issues.
e610c95
to
2e1e194
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (2)
Gemfile.lock
is excluded by!**/*.lock
spec/dummy/yarn.lock
is excluded by!**/yarn.lock
,!**/*.lock
Files selected for processing (7)
- .github/workflows/generator.yml (1 hunks)
- .github/workflows/ruby.yml (1 hunks)
- gemfiles/Gemfile-rails.6.0.x (1 hunks)
- gemfiles/Gemfile-rails.6.1.x (1 hunks)
- gemfiles/Gemfile-rails.7.0.x (1 hunks)
- gemfiles/Gemfile-rails.7.1.x (1 hunks)
- gemfiles/Gemfile-rails.7.2.x (1 hunks)
Files skipped from review due to trivial changes (3)
- gemfiles/Gemfile-rails.6.1.x
- gemfiles/Gemfile-rails.7.0.x
- gemfiles/Gemfile-rails.7.1.x
Files skipped from review as they are similar to previous changes (1)
- gemfiles/Gemfile-rails.7.2.x
Additional comments not posted (3)
gemfiles/Gemfile-rails.6.0.x (1)
5-5
: LGTM!The change updates the Rails version from a pre-release candidate to a stable version, which is a good practice for production use.
.github/workflows/generator.yml (1)
27-27
: LGTM!The changes add support for Rails 7.2.x and exclude incompatible Ruby versions, which is a good practice to ensure the workflow runs with compatible versions.
Also applies to: 32-35
.github/workflows/ruby.yml (1)
44-44
: LGTM!The changes add support for Rails 7.2.x and exclude incompatible Ruby versions, which is a good practice to ensure the workflow runs with compatible versions.
Also applies to: 49-52
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me - just to be clear @justin808 CI is still running against Ruby 2.7 and 3.0, we're just not running the Rails 7.2 tests against it since it doesn't support those versions of Ruby
There should be no reason to get arel from `github` and the commit history is not clear.
2e1e194
to
fd80df0
Compare
Thanks @tagliala! |
Summary
Pull Request checklist
Add/update test to cover these changesUpdate documentationUpdate CHANGELOG fileOther Information
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes
Improvements