rating/.github/workflows/rubocop.yml

18 lines
342 B
YAML
Raw Normal View History

2022-04-21 22:57:48 +00:00
name: RuboCop
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # 'bundle install' and cache
- name: Run RuboCop
run: bundle exec rubocop --parallel