foodsoft/.github/workflows/rubocop.yml
Patrick Gansterer fa63e6e81d Add RuboCop
2021-03-02 09:12:19 +01:00

17 lines
351 B
YAML

name: RuboCop
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop --format github --parallel