Skip to content

Commit

Permalink
Use GitHub actions to run RuboCop linter
Browse files Browse the repository at this point in the history
There seems to be ongoing issues with HoundCI, and the lately it seems
to be ignoring out RuboCop config completely.

[skip ci]
  • Loading branch information
gbp committed Jul 14, 2020
1 parent 9ddefcf commit 522d406
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rubocop.yml
@@ -0,0 +1,16 @@
name: RuboCop

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Run RuboCop linter
uses: reviewdog/action-rubocop@v1
with:
github_token: ${{ secrets.github_token }}
rubocop_version: 0.81.0
rubocop_extensions: rubocop-performance:1.5.2 rubocop-rails:2.5.2
8 changes: 0 additions & 8 deletions .hound.yml

This file was deleted.

0 comments on commit 522d406

Please sign in to comment.