mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #41910 from jbampton/add-github-actions
feat(CI): correct commonly misspelled English words with GitHub Actions
This commit is contained in:
commit
26150e985a
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