diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 5cbeca11..ad1f6269 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -4,9 +4,11 @@ on: [pull_request] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + env: + BUNDLE_ONLY: rubocop steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Ruby uses: ruby/setup-ruby@v1 @@ -14,7 +16,7 @@ jobs: ruby-version: 2.7 - name: Run RuboCop linter - uses: reviewdog/action-rubocop@v1 + uses: reviewdog/action-rubocop@v2 with: github_token: ${{ secrets.github_token }} rubocop_version: gemfile