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

Update Ruby version in GitHub Actions workflow to 3.4 #2016

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation

Expand All @@ -32,6 +32,7 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
- ruby-head
- jruby-9.4
task:
Expand All @@ -53,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rake spec

Expand All @@ -73,7 +74,7 @@ jobs:
cat Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
Expand All @@ -94,7 +95,7 @@ jobs:
cat Gemfile.local
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: bundle exec rubocop -V
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
Expand All @@ -116,7 +117,7 @@ jobs:
EOF
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- run: NO_COVERAGE=true bundle exec rake spec

Expand Down
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/cops_rspec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ end
| Array

| IgnoredMetadata
| `{"type"=>["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
| `{"type" => ["channel", "controller", "helper", "job", "mailer", "model", "request", "routing", "view", "feature", "system", "mailbox", "aruba", "task"]}`
|
|===

Expand Down Expand Up @@ -1994,7 +1994,7 @@ end
| Name | Default value | Configurable values

| CustomTransform
| `{"be"=>"is", "BE"=>"IS", "have"=>"has", "HAVE"=>"HAS"}`
| `{"be" => "is", "BE" => "IS", "have" => "has", "HAVE" => "HAS"}`
|

| IgnoredWords
Expand Down Expand Up @@ -5838,15 +5838,15 @@ whatever_spec.rb # describe MyClass, type: :routing do; end
| Array

| CustomTransform
| `{"RuboCop"=>"rubocop", "RSpec"=>"rspec"}`
| `{"RuboCop" => "rubocop", "RSpec" => "rspec"}`
|

| IgnoreMethods
| `false`
| Boolean

| IgnoreMetadata
| `{"type"=>"routing"}`
| `{"type" => "routing"}`
|
|===

Expand Down
Loading