From ca1ed4b293189f066dcfb275e331316053a386ef Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 24 Jul 2022 13:33:13 +0200 Subject: [PATCH] Switch to Reviewdog --- .github/workflows/retrospring.yml | 22 +++++++++++++++++++--- .hound.yml | 16 ---------------- 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 .hound.yml diff --git a/.github/workflows/retrospring.yml b/.github/workflows/retrospring.yml index 1ddc0f16..505367db 100644 --- a/.github/workflows/retrospring.yml +++ b/.github/workflows/retrospring.yml @@ -47,7 +47,6 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' bundler-cache: true - name: Set up Node 12 uses: actions/setup-node@v3 @@ -76,9 +75,26 @@ jobs: POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} REDIS_URL: "redis://localhost:${{ job.services.redis.ports[6379] }}" DISABLE_WEBPACK_IN_TESTS: 1 - - name: Lint TypeScript - run: yarn run lint - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage/coverage.xml + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - name: Run rubocop + uses: reviewdog/action-rubocop@v2 + with: + rubocop_version: gemfile + rubocop_extensions: rubocop-rails:gemfile + reporter: github-pr-check + - run: yarn install + - uses: reviewdog/action-eslint@v1 + with: + reporter: github-check + eslint_flags: '--ext .ts app/javascript' diff --git a/.hound.yml b/.hound.yml deleted file mode 100644 index e750bcdd..00000000 --- a/.hound.yml +++ /dev/null @@ -1,16 +0,0 @@ -sass-lint: - enabled: false - -coffeescript: - enabled: false - -jshint: - enabled: false - -haml: - enabled: false - config_file: .haml-lint.yml - -rubocop: - version: 1.22.1 - config_file: .rubocop.yml