missing_presence_validation: ignore columns with default functions #151
Workflow file for this run
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 | |
on: [push, pull_request] | |
jobs: | |
# Run the linter first for rapid feedback if some trivial stylistic issues | |
# slipped through the cracks. | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
# When running in CI the gemspec does NOT pull rubocop as a dependency | |
# to avoid conflicting with various Ruby/Rails setups. We need to | |
# set LINT to explicitly request rubocop as a dependency. | |
LINT: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: true | |
- run: bundle exec rake rubocop |