Skip to content

Commit 01d17bc

Browse files
authored
Merge pull request #4 from ruby/ci-add-bundle-exec-and-gems-cache
CI: Add gems caching with bundler-cache: true
2 parents f83fcee + 5dc7104 commit 01d17bc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
88
strategy:
99
matrix:
10-
ruby: [ 2.7, 2.6, head ]
10+
ruby: [ '3.0', 2.7, 2.6, head ]
1111
os: [ ubuntu-latest, macos-latest ]
1212
runs-on: ${{ matrix.os }}
1313
steps:
@@ -16,7 +16,6 @@ jobs:
1616
uses: ruby/setup-ruby@v1
1717
with:
1818
ruby-version: ${{ matrix.ruby }}
19-
- name: Install dependencies
20-
run: bundle install
19+
bundler-cache: true # 'bundle install' and cache
2120
- name: Run test
22-
run: rake test
21+
run: bundle exec rake test

0 commit comments

Comments
 (0)