Skip to content

Commit cd5f2cd

Browse files
committed
CI: enable bundler cache
1 parent ae83838 commit cd5f2cd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@ jobs:
3939
- { os: windows-latest, ruby: jruby }
4040
- { os: windows-latest, ruby: jruby-head }
4141

42+
env:
43+
BUNDLE_WITHOUT: benchmark
44+
4245
steps:
4346
- uses: actions/checkout@v5
4447

4548
- name: Set up Ruby
4649
uses: ruby/setup-ruby-pkgs@v1
4750
with:
51+
bundler-cache: true
4852
ruby-version: ${{ matrix.ruby }}
4953
apt-get: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
5054
brew: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
5155

52-
- run: |
53-
bundle config --without benchmark
54-
bundle install
55-
56-
- run: rake compile ${{ matrix.env }}
56+
- run: bundle exec rake compile ${{ matrix.env }}
5757

58-
- run: rake test JSON_COMPACT=1 ${{ matrix.env }}
58+
- run: bundle exec rake test JSON_COMPACT=1 ${{ matrix.env }}
5959

60-
- run: rake build
60+
- run: bundle exec rake build
6161

6262
- run: gem install pkg/*.gem
6363
if: ${{ matrix.ruby != '3.2' }}

0 commit comments

Comments
 (0)