Switch to truffleruby-head

The released version of `truffleruby` does not work with old versions of
Bundler. However, it's not possible to specify a custom version of
Bundler in truffleruby, because the `ruby/setup-ruby` will ignore that
in the case of `truffleruby-22.0` (the current release) That's in my
opinion an issue with `ruby/setup-ruby` because it should respect user's
choice when it's explicit. But it's not possible to change that because
it was an explicit choice of that library.

So as an alternative solution, use `truffleruby-head`, which apparently
does not have the issue.
This commit is contained in:
David Rodríguez 2022-04-21 14:07:15 +02:00
parent 95f54ab976
commit 355e3bb089
No known key found for this signature in database
GPG Key ID: 1008A258BB37309C
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
timeout: 5
- ruby: '3.0'
timeout: 5
- ruby: truffleruby
- ruby: truffleruby-head
timeout: 50
- ruby: jruby
timeout: 5
@ -36,7 +36,7 @@ jobs:
bundler-cache: true
- name: Run tests
run: bundle exec rake spec
continue-on-error: ${{ matrix.ruby == 'truffleruby' }}
continue-on-error: ${{ matrix.ruby == 'truffleruby-head' }}
actionmailer:
runs-on: ubuntu-latest
steps: