Add RuboCop

This commit is contained in:
Patrick Gansterer 2021-03-01 13:41:50 +01:00
parent 9a7d4bf07d
commit fa63e6e81d
5 changed files with 2503 additions and 0 deletions

17
.github/workflows/rubocop.yml vendored Normal file
View file

@ -0,0 +1,17 @@
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