From 522d4061aae4f1590dc88609aecdba9f187f51dd Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 14 Jul 2020 14:03:24 +0100 Subject: [PATCH] Use GitHub actions to run RuboCop linter There seems to be ongoing issues with HoundCI, and the lately it seems to be ignoring out RuboCop config completely. [skip ci] --- .github/workflows/rubocop.yml | 16 ++++++++++++++++ .hound.yml | 8 -------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/rubocop.yml delete mode 100644 .hound.yml diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml new file mode 100644 index 00000000000..477d2de3497 --- /dev/null +++ b/.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 diff --git a/.hound.yml b/.hound.yml deleted file mode 100644 index 83508e49551..00000000000 --- a/.hound.yml +++ /dev/null @@ -1,8 +0,0 @@ -eslint: - enabled: false - -rubocop: - version: 0.80.0 - -scss: - enabled: false