TableMetadata#associated_table look for reflections by table_name #223
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] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_ONLY: rubocop | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 3.3 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- name: Run RuboCop | |
run: bundle exec rubocop --parallel | |
- uses: zzak/action-discord@v8 | |
env: | |
BUNDLE_ONLY: "" | |
continue-on-error: true | |
if: failure() && github.ref_name == 'main' | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
webhook: ${{ secrets.DISCORD_WEBHOOK }} |