Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Allow creating optional rules/contracts #1

Allow creating optional rules/contracts

Allow creating optional rules/contracts #1

Workflow file for this run

name: Ruby
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: [2.7, 3.0, 3.1, 3.2, 3.3, head]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests (Minitest)
run: bundle exec rake test
- name: Run static code analysis (Rubocop)
run: bundle exec rake rubocop
- name: Run static type checking (Steep)
run: bundle exec steep check
if: ${{ matrix.ruby == 3.2 }}