Draft pull request to debug bundle install failures on JRuby #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
matrix-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- 'jruby-9.3.10' | |
- 'jruby' | |
- 'jruby-head' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
rubygems: latest | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: false | |
- name: Bundler install (JRuby workaround) | |
if: ${{ startsWith(matrix.ruby-version, 'jruby') }} | |
run: bundle install |