Skip to content

Commit 3530ad1

Browse files
committed
Use ruby/setup-ruby action to use Ruby 2.7
https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby Because Ruby 2.7 already installs bundler by default, no need to install bundler separately.
1 parent 073d25d commit 3530ad1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/rubocop.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up Ruby 2.6
12-
uses: actions/setup-ruby@v1
11+
- name: Set up Ruby 2.7
12+
uses: ruby/setup-ruby@v1
1313
with:
14-
ruby-version: 2.6.x
14+
ruby-version: 2.7
1515
- name: Install required package
1616
run: |
1717
sudo apt-get update
1818
sudo apt-get -y install libmysqlclient-dev libpq-dev libsqlite3-dev libncurses5-dev
19-
- name: Install bundler
20-
run: |
21-
gem install bundler:2.1.2 --no-document
2219
- name: Cache gems
2320
uses: actions/cache@v1
2421
with:

0 commit comments

Comments
 (0)