.github/workflows/rubocop.yml
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: '3.0'
- name: RuboCop
run: bundle exec rubocop --parallel