1
0
Fork 0
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:
John Bampton 2021-04-12 00:58:04 +10:00
parent 4b681bd50f
commit bf8986783b

14
.github/workflows/lint.yml vendored Normal file
View 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