2022-04-21 22:57:48 +00:00
|
|
|
name: RuboCop
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-05-18 01:13:06 +00:00
|
|
|
- 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
|