Skip to content

Merge pull request #162 from pundit-community/chore/codespell #299

Merge pull request #162 from pundit-community/chore/codespell

Merge pull request #162 from pundit-community/chore/codespell #299

Workflow file for this run

name: RuboCop
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
rubocop:
name: Rubocop
runs-on: ${{ matrix.os }}
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: ['3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
rubygems: latest
- name: Ruby linter
run: bundle exec bin/rubocop