MONGOID-5737 Fix issue where <=> errors if there's a non-document (#5… #1027
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: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
TESTOPTS: "-v" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby 3.0 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
bundler-cache: true | |
- name: Run RuboCop | |
run: bundle exec rubocop --parallel |