Skip to content

Enhance RuboCop workflow with PR types #240

Enhance RuboCop workflow with PR types

Enhance RuboCop workflow with PR types #240

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.2'
- '3.3'
- '3.4'
steps:
- uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install RBS collection
run: bundle exec rbs collection install --frozen
- name: Run the default task
env:
COVERAGE: "1"
run: bundle exec rake test