Add RuboCop
This commit is contained in:
parent
9a7d4bf07d
commit
fa63e6e81d
5 changed files with 2503 additions and 0 deletions
17
.github/workflows/rubocop.yml
vendored
Normal file
17
.github/workflows/rubocop.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue