mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
feat(CI): correct commonly misspelled English words with GitHub Actions
Misspell -> Correct commonly misspelled English words... quickly. A Golang library that runs without a dictionary. https://github.com/client9/misspell Can even autofix with '-w'
This commit is contained in:
parent
4b681bd50f
commit
bf8986783b
1 changed files with 14 additions and 0 deletions
14
.github/workflows/lint.yml
vendored
Normal file
14
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Lint
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
misspell:
|
||||
name: Check Spelling Misspell
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install
|
||||
run: wget -O - -q https://git.io/misspell | sh -s -- -b .
|
||||
- name: Misspell
|
||||
run: git ls-files --empty-directory | xargs ./misspell -i 'aircrafts,devels,invertions' -error
|
Loading…
Reference in a new issue