Skip to content

Ruby

Ruby #189

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: [2.7, 3.0, 3.1]
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