Skip to content

Commit c84daef

Browse files
committed
Skip installing ragel on CI
Except for JRuby. Saves about 15 seconds per job.
1 parent 2fb293d commit c84daef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
uses: ruby/setup-ruby-pkgs@v1
4343
with:
4444
ruby-version: ${{ matrix.ruby }}
45-
apt-get: ragel
46-
brew: ragel
45+
apt-get: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
46+
brew: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
4747

4848
- run: |
4949
bundle config --without benchmark
@@ -71,7 +71,7 @@ jobs:
7171
uses: ruby/setup-ruby-pkgs@v1
7272
with:
7373
ruby-version: "3.3"
74-
apt-get: ragel valgrind
74+
apt-get: valgrind
7575

7676
- run: |
7777
bundle config --without benchmark

0 commit comments

Comments
 (0)