1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/.github/workflows/rubocop.yml

21 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@v2
- 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