Skip to content

Commit

Permalink
Skip installing ragel on CI
Browse files Browse the repository at this point in the history
Except for JRuby.

Saves about 15 seconds per job.
  • Loading branch information
byroot committed Feb 6, 2025
1 parent 2fb293d commit c84daef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: ragel
brew: ragel
apt-get: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"
brew: "${{ startsWith(matrix.ruby, 'jruby') && 'ragel' || '' }}"

- run: |
bundle config --without benchmark
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: "3.3"
apt-get: ragel valgrind
apt-get: valgrind

- run: |
bundle config --without benchmark
Expand Down

0 comments on commit c84daef

Please sign in to comment.