Skip to content

CIを整備して、古いRubyバージョンのサポートを落とした #2

CIを整備して、古いRubyバージョンのサポートを落とした

CIを整備して、古いRubyバージョンのサポートを落とした #2

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ubuntu-latest
container: ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', 'head']
include:
- ruby-version: 'head'
allow_failures: 'true'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run test
run: |
set -xe
bundle exec rake
continue-on-error: ${{ matrix.allow_failures == 'true' }}