mirror of https://github.com/rails/rails
22 lines
393 B
YAML
22 lines
393 B
YAML
name: RuboCop
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
BUNDLE_WITHOUT: default doc job cable storage ujs test db
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Ruby 2.7
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 2.7
|
|
bundler-cache: true
|
|
|
|
- name: Run RuboCop
|
|
run: bundle exec rubocop --parallel
|