Skip to content

Commit 3c11eab

Browse files
authored
Merge pull request #7 from ruby/use-bundler-cache
CI: use bundler-cache: true, add Ruby 3.1 to build matrix
2 parents 020d825 + 3d0ade7 commit 3c11eab

2 files changed

Lines changed: 3 additions & 27 deletions

File tree

.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: [ head, '3.0', '2.7', '2.6' ]
10+
ruby: [ head, '3.1', '3.0', '2.7', '2.6' ]
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 gems
2120
- name: Run test
22-
run: rake test
21+
run: bundle exec rake test

Gemfile.lock

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)