Skip to content

Commit f2d996c

Browse files
committed
Use bundler-cache with ruby/setup-ruby@v1
Signed-off-by: mishina <temma182008@gmail.com>
1 parent a41c04c commit f2d996c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/linux.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,12 @@ jobs:
5656
- uses: ruby/setup-ruby@v1
5757
with:
5858
ruby-version: ${{ matrix.ruby }}
59+
bundler-cache: true
5960
- name: prepare database
6061
env:
6162
PGPASSWORD: password
6263
run: |
6364
psql -h localhost -p 5432 -U postgres -c "CREATE ROLE fluentd WITH LOGIN ENCRYPTED PASSWORD 'fluentd';"
6465
psql -h localhost -p 5432 -U postgres -c "CREATE DATABASE fluentd_test OWNER fluentd;"
6566
- name: unit testing
66-
run: |
67-
gem install bundler rake
68-
bundle install --jobs 4 --retry 3
69-
bundle exec rake test
67+
run: bundle exec rake test

0 commit comments

Comments
 (0)