Skip to content

ci: test against Ruby 4.0 #200

ci: test against Ruby 4.0

ci: test against Ruby 4.0 #200

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '3.3'
- '3.4'
- '4.0'
env:
BUNDLE_GEMFILE: Gemfile
name: "RSpec tests: Ruby ${{ matrix.ruby }}"
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run tests
run: bundle exec rspec
static_type_check:
name: "Type Check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '4.0'
- name: Run static type checks
run: bundle exec srb tc