Skip to content

* ci: add Ruby 4.0

* ci: add Ruby 4.0 #31

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 4.0]
mode: ['auto', 'patch']
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
CI: true
REQUIRE_HOOKS_MODE: ${{ matrix.mode }}
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run MSpec
run: bundle exec bin/mspec