fixed visual error on user pagination #111
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: RuboCop | |
on: [push, pull_request] | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_WITHOUT: default doc job cable storage ujs test db | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.4 | |
bundler-cache: true | |
action_config_path: ".github/config/rubocop_linter_action.yml" | |
- name: Run RuboCop | |
run: | | |
bash -c " | |
bundle exec rubocop --parallel --only Lint,Layout --except Layout/LineLength app/ lib/ | |
[[ $? -ne 2 ]] | |
" |