Skip to content

Commit a3a64da

Browse files
committed
at github check
1 parent c88ebc8 commit a3a64da

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/rubocop.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Rubocop
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
rubocop:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
# Checkout the repo
11+
- uses: actions/checkout@v3
12+
13+
- name: 'remove .bundle/config'
14+
run: rm .bundle/config
15+
16+
- uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: '3.2'
19+
bundler-cache: true
20+
21+
- name: 'Run Rubocop'
22+
run: bundle exec rubocop

0 commit comments

Comments
 (0)