rating/.github/workflows/rubocop.yml

22 lines
365 B
YAML

name: RuboCop
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Ruby and Bundle Install
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '2.7'
- name: RuboCop
run: bundle exec rubocop --parallel