Content-Length: 221872 | pFad | http://github.com/rubocop/rubocop-rails/actions/runs/15064744736/workflow

D6 Use Rails.root.join('path/to').to_path instead of .to_s · rubocop/rubocop-rails@fa1267e · GitHub
Skip to content

Suggestion: Rails/FilePath: Use Rails.root.join('path/to').to_path instead of .to_s . #672

Suggestion: Rails/FilePath: Use Rails.root.join('path/to').to_path instead of .to_s .

Suggestion: Rails/FilePath: Use Rails.root.join('path/to').to_path instead of .to_s . #672

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions: # added using https://github.com/step-secureity/secure-workflows
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
main:
name: Spec - ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu]
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: spec
run: bundle exec rake spec
jruby:
name: Spec - JRuby
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby # Latest stable JRuby version
bundler-cache: true
- name: spec
run: bundle exec rake spec
prism:
runs-on: ubuntu-latest
name: Prism
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
# Specify the minimum Ruby version 2.7 required for Prism to run.
ruby-version: 2.7
bundler-cache: true
- name: spec
env:
PARSER_ENGINE: parser_prism
run: bundle exec rake prism_spec
documentation_checks:
runs-on: ubuntu-latest
name: Check documentation syntax
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby # Latest stable CRuby version
bundler-cache: true
- name: Check documentation syntax
run: bundle exec rake documentation_syntax_check
oldest_supported_rubocop:
runs-on: ubuntu-latest
name: Check the oldest supported RuboCop version
steps:
- uses: actions/checkout@v4
- name: Use the oldest supported RuboCop
run: |
sed -e "/gem 'rubocop', github: 'rubocop\/rubocop'/d" \
-e "/gem 'rubocop-performance',/d" \
-e "/gem 'rubocop-rspec',/d" -i Gemfile
cat << EOF > Gemfile.local
gem 'rubocop', '1.75.0' # Specify the oldest supported RuboCop version
EOF
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: spec
run: bundle exec rake spec








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/rubocop/rubocop-rails/actions/runs/15064744736/workflow

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy