mdbx-ci: Add check-spelling.

Related to https://github.com/erthink/libmdbx/pull/118

Change-Id: Ic1fa20e7d32894c00283ddafd10e174154fc261f
This commit is contained in:
Josh Soref 2020-09-22 01:55:00 -04:00 committed by Leonid Yuriev
parent 5d582b1b3a
commit 411b89647c
4 changed files with 1773 additions and 0 deletions

3
.github/actions/spelling/excludes.txt vendored Normal file
View File

@ -0,0 +1,3 @@
^\.github/actions/spelling/
^\.travis\.yml$
\.def$

1751
.github/actions/spelling/expect.txt vendored Normal file

File diff suppressed because it is too large Load Diff

6
.github/actions/spelling/patterns.txt vendored Normal file
View File

@ -0,0 +1,6 @@
# numbers
(?:[\\0][xX]|[uU]\+|#)[0-9a-fA-FgGrR]{2,}[uU]?[lL]{0,2}\b
# avoid false positive
-force$
# flags
(?!\w)-[fDW]

13
.github/workflows/spelling.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Spell checking
on:
push:
jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
with:
fetch-depth: 5
- uses: check-spelling/check-spelling@prerelease