diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 612b5dd..675ce08 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -20,16 +20,18 @@ jobs: - name: Use ruby uses: ruby/setup-ruby@v1 with: - bundler-cache: true - ruby-version: '3.1' + ruby-version: 3.1 - - name: rubocop + - name: Run rubocop uses: reviewdog/action-rubocop@v2 + if: ${{ always() }} + timeout-minutes: 10 with: rubocop_version: gemfile rubocop_extensions: rubocop-performance:gemfile github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-review + level: warning fail_on_error: true detect-secrets: diff --git a/.rubocop.yml b/.rubocop.yml index 3ca6394..400716a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,7 +7,6 @@ AllCops: DisplayCopNames: true Exclude: - bin/**/* - NewCops: enable Metrics: Enabled: false