Skip to content

Commit 2905e76

Browse files
committed
Rubocop Github Workflow
1 parent 3c3a186 commit 2905e76

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/rubocop.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: RuboCop
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
rubocop:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: ruby/setup-ruby@v1
11+
with:
12+
ruby-version: 3.1
13+
- name: Install dependencies
14+
run: bundle install
15+
- name: Run RuboCop
16+
run: bundle exec rubocop

0 commit comments

Comments
 (0)