Skip to content

Commit 887b2ee

Browse files
authored
Merge pull request github#1408 from chenrui333/patch-1
Update github action config and ruby version
2 parents b052f2f + 92ee999 commit 887b2ee

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
9+
- uses: actions/checkout@v2
1010
- name: Setup Ruby
1111
uses: actions/setup-ruby@v1
1212
with:
13-
ruby-version: 2.6.x
13+
ruby-version: 2.7
1414
- name: Build and test with Rake/Rubocop
1515
run: |
16-
gem install bundler:1.14.0
16+
gem install bundler:2.1.4
1717
bundle update
1818
bundle install --jobs 4 --retry 3
1919
bundle exec rake

.rubocop.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require: rubocop-performance
22

33
AllCops:
4-
TargetRubyVersion: 2.4
4+
TargetRubyVersion: 2.7
55
Exclude:
66
- '**/bin/**/*'
77
- '**/db/**/*'
@@ -32,4 +32,3 @@ Style/TrailingCommaInArrayLiteral:
3232

3333
Style/TrailingCommaInHashLiteral:
3434
EnforcedStyleForMultiline: consistent_comma
35-

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.5.1
1+
2.7.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ DEPENDENCIES
3737
safe_yaml
3838

3939
BUNDLED WITH
40-
1.16.1
40+
2.1.4

0 commit comments

Comments
 (0)