Skip to content

Commit

Permalink
Run RuboCop on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss committed Jun 17, 2024
1 parent 704489a commit 94b1e2c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: RuboCop

on:
push:
branches:
- main
pull_request: {}

jobs:
rubocop:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: 'Install dependencies'
run: 'bundle install'
- name: 'Run RuboCop'
run: 'bundle exec rubocop --format github'

0 comments on commit 94b1e2c

Please sign in to comment.