From d6a9a97b5313a03f187d3e6d7a6ee200c5cb090a Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 14 Jul 2020 14:03:24 +0100 Subject: [PATCH 1/2] 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. --- .github/workflows/rubocop.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/rubocop.yml diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml new file mode 100644 index 0000000000..477d2de349 --- /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 From e5f1c08c43cae8d5bbb7ed9839fc81d0163ae055 Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 14 Jul 2020 14:31:19 +0100 Subject: [PATCH 2/2] Remove Hound CI config --- .hound.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .hound.yml diff --git a/.hound.yml b/.hound.yml deleted file mode 100644 index 83508e4955..0000000000 --- a/.hound.yml +++ /dev/null @@ -1,8 +0,0 @@ -eslint: - enabled: false - -rubocop: - version: 0.80.0 - -scss: - enabled: false