Skip to content

Commit d1bf8b3

Browse files
committed
ci: let bundler-cache: true to install gems
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 3856f7b commit d1bf8b3

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
20+
bundler-cache: true
2021
- name: unit testing
2122
env:
2223
CI: true
2324
run: |
24-
gem install bundler rake
25-
bundle install --jobs 4 --retry 3
2625
bundle exec rake test

.github/workflows/macos.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
20+
bundler-cache: true
2021
- name: unit testing
2122
env:
2223
CI: true
2324
run: |
24-
gem install bundler rake
25-
bundle install --jobs 4 --retry 3
2625
bundle exec rake test

.github/workflows/windows.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
- uses: ruby/setup-ruby@v1
1818
with:
1919
ruby-version: ${{ matrix.ruby }}
20+
bundler-cache: true
2021
- name: unit testing
2122
env:
2223
CI: true
2324
run: |
24-
gem install bundler rake
25-
bundle install --jobs 4 --retry 3
2625
bundle exec rake test

0 commit comments

Comments
 (0)