From 46c052dd1d28cc0eca062f680373cda5398119b2 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 12 Dec 2024 14:19:31 +0000 Subject: [PATCH] Upgrade some Action versions. --- .github/workflows/rubocop.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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