Add linter for framework defaults and Rails config

This linter parses the Rails::Application::Configuration file and
ensures that
- all configurations are listed alphabetically in Configuring guide
- all framework defaults are listed alphabetically in Configuring guide
- all framework defaults are included in the new_framework_defaults_x_x
  template
This commit is contained in:
Hartley McGuire 2023-02-12 14:30:16 -05:00
parent 21a3b52ba0
commit 630b1ff128
No known key found for this signature in database
GPG Key ID: E823FC1403858A82

@ -6,22 +6,23 @@ permissions:
contents: read
jobs:
changelog-formatting:
name: Check CHANGELOGs formatting
rails-bin:
name: Check rails-bin lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: skipkayhil/rails-bin
ref: ba349066e1ce0c6e8d5b2c5e92dc71802237adbd
ref: 748f4673a5fe5686b5859e89f814166280e51781
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
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
codespell:
name: Check spelling all files with codespell
runs-on: ubuntu-latest