Skip to content

Merge pull request #320 from rubyworks/dependabot/github_actions/acti… #47

Merge pull request #320 from rubyworks/dependabot/github_actions/acti…

Merge pull request #320 from rubyworks/dependabot/github_actions/acti… #47

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- ubuntu
ruby:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
experimental: [false]
include:
- os: ubuntu
ruby: truffleruby
experimental: true
- os: ubuntu
ruby: jruby
experimental: true
java-version: "21"
- os: ubuntu
ruby: head
experimental: true
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v4
if: ${{ matrix.java-version }}
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
timeout-minutes: 5
run: bundle exec rake test