-
Notifications
You must be signed in to change notification settings - Fork 1
82 lines (79 loc) · 1.95 KB
/
reviewdog.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Linters
on: [pull_request]
permissions:
contents: read
jobs:
bundle-audit:
name: runner / bundle-audit
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Runs bundle-audit
uses: tomferreira/action-bundler-audit@v1
with:
bundler_audit_version: gemfile
brakeman:
name: runner / brakeman
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Run Brakeman
uses: reviewdog/action-brakeman@v2
with:
brakeman_version: gemfile
reek:
name: runner / reek
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Run Reek
uses: reviewdog/action-reek@v1
with:
reek_version: gemfile
rubocop:
name: runner / rubocop
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Run RuboCop
uses: reviewdog/action-rubocop@v2
with:
skip_install: true
use_bundler: true
sorbet:
name: runner / sorbet
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Run Sorbet
uses: mihyaeru21/action-sorbet@v1