Skip to content

Add #destroy_all! method to ActiveRecord::Relation #21

Add #destroy_all! method to ActiveRecord::Relation

Add #destroy_all! method to ActiveRecord::Relation #21

Workflow file for this run

name: Lint
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: db:job:cable:storage:ujs
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: mdl
run: bundle exec rake -f guides/Rakefile guides:lint
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install codespell==2.1.0
- name: Check spelling with codespell
run: codespell --ignore-words=codespell.txt --skip="./vendor/bundle,./actionview/test/ujs/public/vendor/qunit.js,./actiontext/app/assets/javascripts/trix.js,./yarn.lock" || exit 1
- run: tools/railspect changelogs .
- run: tools/railspect configuration .
- uses: zzak/action-discord@v8
continue-on-error: true
if: failure() && github.ref_name == 'main'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
webhook: ${{ secrets.DISCORD_WEBHOOK }}