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
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 New Issue
Block a user