Skip to content

Separate gem release workflow into three steps #2384

Separate gem release workflow into three steps

Separate gem release workflow into three steps #2384

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ "3.2", "3.3", "3.4" ]
name: Test Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up Ruby
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run type check
run: bin/typecheck
- name: Lint Ruby files
run: bin/style --config .rubocop.yml
- name: Run tests
run: bin/test
- name: Check exported RBI files
run: bin/export-rbi --check-sync
- name: Check shims
run: bin/tapioca check-shims