Skip to content

RSpec on JRuby

RSpec on JRuby #124

Workflow file for this run

name: RSpec on JRuby
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 21 * * 6"
env:
JRUBY_OPTS: "--debug"
permissions:
contents: read
jobs:
rspec:
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ruby: ["jruby-9.4", "jruby-head"]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- run: rm -f Gemfile.lock
- run: rm -f .ruby-version
- name: Set up Ruby
uses: ruby/setup-ruby@3fee6763234110473bd57dd4595c5199fce2c510 # v1.258.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: latest
bundler-cache: true
- run: bundle exec rspec