Skip to content

Correct usage of maven-tools under JRuby 10.0.3+ and Ruby 4.0 #26

Correct usage of maven-tools under JRuby 10.0.3+ and Ruby 4.0

Correct usage of maven-tools under JRuby 10.0.3+ and Ruby 4.0 #26

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['jruby-10', 'jruby-9.4', '4.0', '3.4', '3.3']
java: [8, 25]
exclude:
- ruby: 'jruby-10' # JRuby 10 requires Java 21+
java: 8
steps:
- name: checkout
uses: actions/checkout@v5
- name: Set up java
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Set up ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
./mvnw -ntp -B initialize
bundle install --jobs=3 --retry=3
- name: Run tests
run: ./mvnw -ntp -B test