mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx-ci: Add check-spelling.
Related to https://github.com/erthink/libmdbx/pull/118 Change-Id: Ic1fa20e7d32894c00283ddafd10e174154fc261f
This commit is contained in:
parent
5d582b1b3a
commit
411b89647c
3
.github/actions/spelling/excludes.txt
vendored
Normal file
3
.github/actions/spelling/excludes.txt
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
^\.github/actions/spelling/
|
||||||
|
^\.travis\.yml$
|
||||||
|
\.def$
|
1751
.github/actions/spelling/expect.txt
vendored
Normal file
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
6
.github/actions/spelling/patterns.txt
vendored
Normal 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
13
.github/workflows/spelling.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user