.github/workflows/rubocop.yml in groupie-0.5.0 vs .github/workflows/rubocop.yml in groupie-0.6.0

- old
+ new

@@ -4,23 +4,24 @@ rubocop: name: Rubocop runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Ruby & Gems - uses: ruby/setup-ruby@v1 # Uses .ruby-version as version input + uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 2.7 bundler-cache: true - name: Rubocop # https://github.com/reviewdog/action-rubocop uses: reviewdog/action-rubocop@v2 with: fail_on_error: true filter_mode: nofilter github_token: ${{ secrets.github_token }} reporter: github-pr-review rubocop_version: gemfile + rubocop_flags: --display-only-fail-level-offenses --safe # Rely on Bundler-installed gems so don't install them again use_bundler: true skip_install: true