Skip to content

Commit 9477336

Browse files
authored
Merge pull request #745 from snaka/fix/delegate-bundle-to-setup-ruby
ci: use bundler-cache in setup-ruby and fix RuboCop configuration
2 parents 9387b12 + 615c37a commit 9477336

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,7 @@ jobs:
5454
- uses: ruby/setup-ruby@v1
5555
with:
5656
ruby-version: ${{ matrix.ruby }}
57-
58-
- name: Install dependencies
59-
run: |
60-
bundle install --jobs 4 --retry 3
57+
bundler-cache: true
6158

6259
- name: Display Ruby version
6360
run: ruby -v

.rubocop.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
inherit_mode:
2+
merge:
3+
- Exclude
4+
15
AllCops:
26
TargetRubyVersion: 2.5
37
DisabledByDefault: true
48
SuggestExtensions: false
5-
Exclude:
6-
- 'gemfiles/**/*'
79

810
Style/AndOr:
911
Enabled: true

0 commit comments

Comments
 (0)