Skip to content

Commit

Permalink
Add action for rubocop checks on each push
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 2, 2024
1 parent f0391dc commit e968251
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rubocop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: RuboCop

on: [push]

jobs:
rubocop:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0

- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Run RuboCop
run: bundle exec rubocop

0 comments on commit e968251

Please sign in to comment.