Skip to content

Commit 0c3745e

Browse files
committed
[GR-17457] GH Actions CI: ruby/spec requires webrick, which is not stdlib anymore on Ruby 3+
PullRequest: truffleruby/2851
2 parents f6e8e5e + 8cfbd74 commit 0c3745e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
strategy:
193193
fail-fast: false
194194
matrix:
195-
ruby: [2.6, 2.7, 3.0]
195+
ruby: [2.6, 2.7, '3.0']
196196
runs-on: ubuntu-latest
197197
steps:
198198
- uses: actions/checkout@v2
@@ -202,4 +202,7 @@ jobs:
202202
bundler: none
203203
- name: Setup jt
204204
run: echo "$PWD/bin" >> $GITHUB_PATH
205+
- name: Install webrick for Ruby 3+
206+
run: gem install webrick
207+
if: startsWith(matrix.ruby, '3.')
205208
- run: CHECK_LEAKS=true jt -u ruby mspec -fdot --timeout 30 spec/ruby

0 commit comments

Comments
 (0)