Skip to content

Don't depend on Action Pack from Railties #20

Don't depend on Action Pack from Railties

Don't depend on Action Pack from Railties #20

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@v3
- 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
- uses: actions/checkout@v3
with:
repository: skipkayhil/rails-bin
ref: 748f4673a5fe5686b5859e89f814166280e51781
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- uses: actions/checkout@v3
with:
path: rails
- run: bin/check-changelogs ./rails
- run: bin/check-config-docs ./rails
- 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 }}