Skip to content

Commit dbd2f1d

Browse files
committed
Merge branch 'master' of github.com:rojopolis/spellcheck-github-actions
2 parents 9fa1ede + 6d918b6 commit dbd2f1d

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,40 @@ matrix:
395395

396396
Change the configuration to suit your repository and needs, please see the `examples/` directory for more example configurations.
397397

398+
## Specifying Number of Jobs for Parallel Processing
399+
400+
This action supports parallel processing of the configured tasks, this is done using the `jobs` parameter. Introduced in version 4.10 of **PySpelling**.
401+
402+
The default value is `1`, which means that the action will run in a single job.
403+
404+
```yaml
405+
jobs: 4
406+
```
407+
408+
Full example:
409+
410+
```yaml
411+
jobs: 4
412+
matrix:
413+
- name: Markdown
414+
aspell:
415+
lang: en
416+
dictionary:
417+
wordlists:
418+
- .wordlist.txt
419+
encoding: utf-8
420+
pipeline:
421+
- pyspelling.filters.markdown:
422+
- pyspelling.filters.html:
423+
comments: false
424+
ignores:
425+
- code
426+
- pre
427+
sources:
428+
- '**/*.md'
429+
default_encoding: utf-8
430+
```
431+
398432
## Specifying Language
399433

400434
This action currently only support `aspell`, please see the section on Language Support below.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ html5lib==1.1
55
lxml==4.9.3
66
Markdown==3.4.4
77
pymdown-extensions==10.4
8-
pyspelling==2.9
8+
pyspelling==2.10
99
PyYAML==6.0.1
1010
six==1.16.0
1111
soupsieve==2.5

0 commit comments

Comments
 (0)