File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 9
9
branches :
10
10
- ' *'
11
11
jobs :
12
+ rubocop :
13
+ name : Rubocop
14
+ runs-on : ' ubuntu-20.04'
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : ' 3.0'
20
+ - run : script/update_rubygems_and_install_bundler
21
+ - run : script/clone_all_rspec_repos
22
+ - run : bundle install --standalone
23
+ - run : bundle binstubs --all
24
+ - run : script/run_rubocop
25
+
12
26
test :
13
27
name : ' Ruby: ${{ matrix.ruby }}, Rails: ${{ matrix.env.RAILS_VERSION }}'
14
28
runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -97,11 +97,3 @@ function documentation_enforced {
97
97
return 1
98
98
fi
99
99
}
100
-
101
- function style_and_lint_enforced {
102
- if [ -x ./bin/rubocop ]; then
103
- return 0
104
- else
105
- return 1
106
- fi
107
- }
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ if documentation_enforced; then
26
26
fold " doc check" check_documentation_coverage
27
27
fi
28
28
29
- if style_and_lint_enforced; then
30
- fold " rubocop" check_style_and_lint
31
- fi
32
-
33
29
if is_mri; then
34
30
fold " one-by-one specs" run_specs_one_by_one
35
31
run_all_spec_suites
You can’t perform that action at this time.
0 commit comments