-
-
Notifications
You must be signed in to change notification settings - Fork 249
/
rubocop.yml.ignore
50 lines (41 loc) · 1.01 KB
/
rubocop.yml.ignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Don't bother with rubocop. It is too opinionated and the opinions
# change. It's not worth chasing when the code is perfectly acceptable
# otherwise.
name: Rubocop Check
on:
push:
branches:
- develop
- master
paths:
- ".rubocop*.yml"
- ".github/workflows/rubocop.yml"
- "lib/**/*.rb"
- "test/*.rb"
- "**/*.gemspec"
- "**/*.gemfile"
- "Gemfile"
pull_request:
paths:
- ".rubocop*.yml"
- ".github/workflows/rubocop.yml"
- "lib/**/*.rb"
- "test/*.rb"
- "**/*.gemspec"
- "**/*.gemfile"
- "Gemfile"
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Set-up RuboCop Problem Matcher
uses: r7kamura/rubocop-problem-matchers-action@v1
- name: Run rubocop
run: bundle exec rubocop