Skip to content

Update rake for Ruby 4.0 and add 4.0 in CI #209

Update rake for Ruby 4.0 and add 4.0 in CI

Update rake for Ruby 4.0 and add 4.0 in CI #209

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: [ 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, 3.4, '4.0', ruby-head, truffleruby ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
rubyspec:
name: Check ruby/spec still passes with MSpec changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6
with:
repository: ruby/spec
path: rubyspec
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler: none
- run: bin/mspec --timeout 30 rubyspec