Skip to content

Merge pull request #48998 from Shopify/to_key-supports-composite-prim… #61

Merge pull request #48998 from Shopify/to_key-supports-composite-prim…

Merge pull request #48998 from Shopify/to_key-supports-composite-prim… #61

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@v4
continue-on-error: true
if: always() && github.ref_name == 'main'
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}