Skip to content

Fix CI

Fix CI #12

Workflow file for this run

name: CI
on: [pull_request]
env:
SORBET_RUBY: &sorbet '3.4'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- 'head'
- *sorbet
- '3.3'
- '3.2'
fail-fast: false
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle install
- run: bundle exec rspec
sorbet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ env.REPO_FETCH_DEPTH }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.SORBET_RUBY }}
bundler-cache: true
- name: Sorbet
run: bundle exec srb typecheck