Skip to content

Commit

Permalink
Update RuboCop workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Dec 18, 2024
1 parent 37416c2 commit 8d04edc
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@ 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: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

- run: |
gem install securerandom -v 0.3.2
gem install activesupport -v 7.1.5.1
- name: Run RuboCop linter
uses: reviewdog/action-rubocop@v1
uses: reviewdog/action-rubocop@v2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
Expand Down

0 comments on commit 8d04edc

Please sign in to comment.