File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,17 @@ on: [push, pull_request]
5
5
jobs :
6
6
build :
7
7
runs-on : ubuntu-latest
8
+ env :
9
+ BUNDLE_WITHOUT : default doc job cable storage ujs test db
8
10
9
11
steps :
10
12
- uses : actions/checkout@v2
13
+
11
14
- name : Set up Ruby 2.7
12
15
uses : ruby/setup-ruby@v1
13
16
with :
14
17
ruby-version : 2.7
15
- - name : Cache gems
16
- uses : actions/cache@v1
17
- with :
18
- path : vendor/bundle
19
- key : ${{ runner.os }}-rubocop-${{ hashFiles('**/Gemfile.lock') }}
20
- restore-keys : |
21
- ${{ runner.os }}-rubocop-
22
- - name : Install gems
23
- run : |
24
- bundle config path vendor/bundle
25
- bundle config set without 'default doc job cable storage ujs test db'
26
- bundle install --jobs 4 --retry 3
18
+ bundler-cache : true
19
+
27
20
- name : Run RuboCop
28
21
run : bundle exec rubocop --parallel
You can’t perform that action at this time.
0 commit comments