Skip to content

Commit 039385b

Browse files
authored
Integrating spellcheck into CI (#1218)
* Adding spellcheck testing * words * updating version of spellcheck action
1 parent e07ae7d commit 039385b

File tree

4 files changed

+146
-4
lines changed

4 files changed

+146
-4
lines changed

.github/spellcheck-settings.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
matrix:
2+
- name: Markdown
3+
expect_match: false
4+
apsell:
5+
lang: en
6+
d: en_US
7+
ignore-case: true
8+
dictionary:
9+
wordlists:
10+
- .github/wordlist.txt
11+
output: wordlist.dic
12+
pipeline:
13+
- pyspelling.filters.markdown:
14+
markdown_extensions:
15+
- markdown.extensions.extra:
16+
- pyspelling.filters.html:
17+
comments: false
18+
attributes:
19+
- alt
20+
ignores:
21+
- ':matches(code, pre)'
22+
- code
23+
- pre
24+
- blockquote
25+
- img
26+
sources:
27+
- 'README.md'
28+
- 'FAQ.md'
29+
- 'docs/**'

.github/wordlist.txt

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
ABI
2+
ACLs
3+
alloc
4+
Allocator
5+
allocators
6+
antirez
7+
api
8+
APIs
9+
ASYNC
10+
asyncRedisContext
11+
asyncronous
12+
AUTOFREE
13+
autoload
14+
autoloader
15+
autoloading
16+
Autoloading
17+
backend
18+
backends
19+
behaviour
20+
boolean
21+
CAS
22+
Changelog
23+
customizable
24+
Customizable
25+
CVE
26+
dataset
27+
de
28+
deallocation
29+
ElastiCache
30+
extensibility
31+
FPM
32+
getaddrinfo
33+
gmail
34+
grunder
35+
Grunder
36+
hiredis
37+
Hiredis
38+
HIREDIS
39+
hostname
40+
IANA
41+
IPv
42+
IPV
43+
keepalive
44+
keyspace
45+
keyspaces
46+
KiB
47+
libc
48+
libev
49+
libevent
50+
localhost
51+
Lua
52+
michael
53+
minimalistic
54+
namespace
55+
NOAUTOFREE
56+
NOAUTOFREEREPLIES
57+
NONBLOCK
58+
Noordhuis
59+
OpenSSL
60+
Packagist
61+
pcnoordhuis
62+
PhpRedis
63+
Pieter
64+
pipelined
65+
pipelining
66+
pluggable
67+
Predis
68+
PRERELEASE
69+
printf
70+
PSR
71+
PSUBSCRIBE
72+
rb
73+
Readme
74+
README
75+
rebalanced
76+
rebalancing
77+
redis
78+
Redis
79+
redisAsyncContext
80+
redisContext
81+
redisOptions
82+
redisReader
83+
reusability
84+
REUSEADDR
85+
runtime
86+
Sanfilippo
87+
SHA
88+
sharding
89+
SONAME
90+
SSL
91+
struct
92+
stunnel
93+
subelements
94+
TCP
95+
TLS
96+
unparsed
97+
UNSPEC
98+
URI
99+
variadic

.github/workflows/spellcheck.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: spellcheck
2+
on:
3+
pull_request:
4+
jobs:
5+
check-spelling:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Check Spelling
11+
uses: rojopolis/spellcheck-github-actions@0.33.1
12+
with:
13+
config_path: .github/spellcheck-settings.yml
14+
task_name: Markdown

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ The library comes with multiple APIs. There is the
2828
* After v1.2.0 we modified how we invoke `poll(2)` to wait for connections to complete, such that we will now retry
2929
the call if it is interrupted by a signal until:
3030

31-
a) The connection succeeds or fails.
31+
a) The connection succeeds or fails.
3232
b) The overall connection timeout is reached.
3333

34-
In previous versions, an interrupted `poll(2)` call would cause the connection to fail
35-
with `c->err` set to `REDIS_ERR_IO` and `c->errstr` set to `poll(2): Interrupted system call`.
34+
In previous versions, an interrupted `poll(2)` call would cause the connection to fail
35+
with `c->err` set to `REDIS_ERR_IO` and `c->errstr` set to `poll(2): Interrupted system call`.
3636

3737
## Upgrading to `1.1.0`
3838

@@ -302,7 +302,7 @@ void redisFree(redisContext *c);
302302
This function immediately closes the socket and then frees the allocations done in
303303
creating the context.
304304
305-
### Sending commands (cont'd)
305+
### Sending commands (continued)
306306
307307
Together with `redisCommand`, the function `redisCommandArgv` can be used to issue commands.
308308
It has the following prototype:

0 commit comments

Comments
 (0)