Apipie/apipie-rails

View on GitHub
.github/workflows/rubocop.yml

Summary

Maintainability
Test Coverage
name: RuboCop

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Set up Ruby 3.2
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.2
          bundler-cache: true

      - name: Run rubocop
        run: bundle exec rubocop --config .rubocop.yml