Skip to content

Add support for override(allow_incompatible: :visibility) #3020

Add support for override(allow_incompatible: :visibility)

Add support for override(allow_incompatible: :visibility) #3020

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["3.2", "3.3", "3.4"]
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: ruby -v
- name: Run typechecking
run: bin/typecheck
- name: Check sigils
run: bundle exec exe/spoom bump --from true --to strict --dry
- run: bin/test
- name: Run style
run: bin/style
- name: Check exported RBI file
run: bin/export-rbi --check-sync