Skip to content

Ruby

Ruby #202

Workflow file for this run

name: Ruby
on:
schedule:
- cron: '0 0 * * 0'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
ruby-version: [3.1, 3.2, 3.3]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Build
run: |
bundle config --global ignore_messages true
gem install bundler
bundle install --jobs 4 --retry 3
- name: Test
run: |
bundle exec rake
env:
CI: true