fix: handle nameless controllers #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Ruby | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: "gemfiles/rubocop.gemfile" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Lint Ruby code with RuboCop | |
run: | | |
bundle exec rubocop |