MONGOID-5842 fix numericality validator when given non-numeric string… #1445
This file contains hidden or 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 |