Skip to content

Commit 584b2ae

Browse files
authored
Merge pull request #242 from rojopolis/issue_241
Issue 241 and other things
2 parents c823f02 + 5375356 commit 584b2ae

File tree

6 files changed

+48
-25
lines changed

6 files changed

+48
-25
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log for spellcheck-github-actions
22

3+
## 0.49.0, 2025-05-22, feature release, update not required
4+
5+
- Support for Italian as requested by: Stefan Oderbolz (@metaode) via issue [#241](https://github.com/rojopolis/spellcheck-github-actions/issues/241), the support is both for `aspell` and `hunspell`
6+
7+
- Docker image updated to Python 3.13.3 slim via PR [#238](https://github.com/rojopolis/spellcheck-github-actions/pull/238) from Dependabot. [Release notes for Python 3.13.3](https://docs.python.org/release/3.13.3/whatsnew/changelog.html)
8+
9+
- `pymdown-extensions` have been updated to: `10.15.0` hopefully addressing the issue outlined in issue [#233](https://github.com/rojopolis/spellcheck-github-actions/issues/233) from: Micha Hobert (@Isengo1989). @facelessuser made the release of the dependency and I have included it in this release
10+
311
## 0.48.0, 2025-04-01, feature release, update not required
412

513
- Support for `hunspell` via PR [#224](https://github.com/rojopolis/spellcheck-github-actions/pull/224) from @funkill

Dockerfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ RUN pip3 install -r /requirements.txt
2020

2121
# REF: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
2222
RUN apt-get update && apt-get install -y \
23-
aspell aspell-en aspell-de aspell-es aspell-fr aspell-ru aspell-uk \
24-
hunspell \
25-
hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-us \
26-
hunspell-de-at hunspell-de-ch hunspell-de-de \
27-
hunspell-es hunspell-fr \
28-
hunspell-ru hunspell-uk \
23+
aspell hunspell \
24+
aspell-en hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-us \
25+
aspell-de hunspell-de-at hunspell-de-ch hunspell-de-de \
26+
aspell-es hunspell-es \
27+
aspell-fr hunspell-fr \
28+
aspell-ru hunspell-ru \
29+
aspell-uk hunspell-uk \
30+
aspell-it hunspell-it \
2931
&& rm -rf /var/lib/apt/lists/*
3032

3133
WORKDIR /tmp

README.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ This action uses [PySpelling][pyspelling] to check spelling in source files in t
7575
- English
7676
- French
7777
- German
78+
- Italian
7879
- Spanish
7980
- Russian
8081
- Ukrainian
@@ -106,7 +107,7 @@ jobs:
106107
steps:
107108
# The checkout step
108109
- uses: actions/checkout@v3
109-
- uses: rojopolis/spellcheck-github-actions@0.47.0
110+
- uses: rojopolis/spellcheck-github-actions@0.49.0
110111
name: Spellcheck
111112
```
112113
@@ -116,7 +117,7 @@ For example, it could be named `.github/workflows/spelling_action.yml` for easy
116117

117118
### Using a Canonical Version
118119

119-
In the above example, the configuration is pointing to the exact version of `0.47.0`, this repository also offers the canonical version `v0`, so there is less hassle keeping the action up to date.
120+
In the above example, the configuration is pointing to the exact version of `0.49.0`, this repository also offers the canonical version `v0`, so there is less hassle keeping the action up to date.
120121

121122
```yaml
122123
name: Spellcheck Action
@@ -204,7 +205,7 @@ jobs:
204205
steps:
205206
# The checkout step
206207
- uses: actions/checkout@v3
207-
- uses: rojopolis/spellcheck-github-actions@0.47.0
208+
- uses: rojopolis/spellcheck-github-actions@0.49.0
208209
name: Spellcheck
209210
with:
210211
source_files: README.md CHANGELOG.md notes/Notes.md
@@ -232,7 +233,7 @@ jobs:
232233
steps:
233234
# The checkout step
234235
- uses: actions/checkout@v3
235-
- uses: rojopolis/spellcheck-github-actions@0.47.0
236+
- uses: rojopolis/spellcheck-github-actions@0.49.0
236237
name: Spellcheck
237238
with:
238239
source_files: README.md CHANGELOG.md notes/Notes.md
@@ -319,7 +320,7 @@ jobs:
319320
runs-on: ubuntu-latest
320321
steps:
321322
- uses: actions/checkout@v3
322-
- uses: rojopolis/spellcheck-github-actions@0.47.0
323+
- uses: rojopolis/spellcheck-github-actions@0.49.0
323324
name: Spellcheck
324325
with:
325326
config_path: config/.spellcheck.yml # put path to configuration file here
@@ -450,7 +451,7 @@ See the documentation for [PySpelling](https://facelessuser.github.io/pyspelling
450451
The action can be specified to use `hunspell` instead of `aspell` by setting the `spellchecker` parameter to `hunspell`.
451452

452453
```yaml
453-
- uses: rojopolis/spellcheck-github-actions@0.47.0
454+
- uses: rojopolis/spellcheck-github-actions@0.49.0
454455
name: Spellcheck
455456
with:
456457
task_name: Markdown
@@ -507,30 +508,32 @@ Currently only the following languages are supported via [GNU Aspell][aspell]:
507508
- English via the [`aspell-en` Debian package][aspell-en], supporting:
508509
- American (`en_US`),
509510
- British (`en_GB`),
510-
- Canadian (`en_CA`)
511-
- and Australian (`en_AU`)
511+
- Australian (`en_AU`)
512+
- and Canadian (`en_CA`)
512513
- German via the [`aspell-de` Debian package][aspell-de], supporting:
514+
- Austrian (`de_AT`)
513515
- German (`de_DE`),
514516
- Swiss (`de_CH`)
515-
- Austrian (`de_AT`)
516-
- Spanish via the [`aspell-es` Debian package][aspell-es]
517+
- Italian via (`it_IT`), via the [`aspell-it` Debian package][aspell-it]
517518
- Russian via the [`aspell-ru` Debian package][aspell-ru]
519+
- Spanish via the [`aspell-es` Debian package][aspell-es]
518520
- Ukrainian via the [`aspell-uk` Debian package][aspell-uk]
519521

520522
Currently only the following languages are supported via [Hunspell][hunspell]:
521523

522524
- English, supporting:
523525
- American (`en_US`, via [`hunspell-en-us` Debian package][hunspell-en-us]),
526+
- Australian (`en_AU`, via [`hunspell-en-au` Debian package][hunspell-en-au])
524527
- British (`en_GB`, via [`hunspell-en-gb` Debian package][hunspell-en-gb]),
525-
- Canadian (`en_CA`, via [`hunspell-en-ca` Debian package][hunspell-en-ca])
526-
- and Australian (`en_AU`, via [`hunspell-en-au` Debian package][hunspell-en-au])
528+
- and Canadian (`en_CA`, via [`hunspell-en-ca` Debian package][hunspell-en-ca])
529+
- French via the [`hunspell-fr` Debian package][hunspell-fr]
527530
- German, supporting:
531+
- Austrian (`de_AT`, via [`hunspell-de-at` Debian package][hunspell-de-at])
528532
- German (`de_DE`, via [`hunspell-de-de` Debian package][hunspell-de-de]),
529533
- Swiss (`de_CH`, via [`hunspell-de-ch` Debian package][hunspell-de-ch])
530-
- Austrian (`de_AT`, via [`hunspell-de-at` Debian package][hunspell-de-at])
531-
- Spanish via the [`hunspell-es` Debian package][hunspell-es]
532-
- French via the [`hunspell-fr` Debian package][hunspell-fr]
534+
- Italian via the [`hunspell-it` Debian package][hunspell-it]
533535
- Russian via the [`hunspell-ru` Debian package][hunspell-ru]
536+
- Spanish via the [`hunspell-es` Debian package][hunspell-es]
534537
- Ukrainian via the [`hunspell-uk` Debian package][hunspell-uk]
535538

536539
Additional languages can be added by request, please open an issue.
@@ -555,7 +558,7 @@ jobs:
555558
runs-on: ubuntu-latest
556559
steps:
557560
- uses: actions/checkout@v3
558-
- uses: rojopolis/spellcheck-github-actions@0.47.0
561+
- uses: rojopolis/spellcheck-github-actions@0.49.0
559562
name: Spellcheck
560563
with:
561564
config_path: .github/spellcheck.yml # <--- put path to configuration file here
@@ -796,7 +799,7 @@ jobs:
796799
runs-on: ubuntu-latest
797800
steps:
798801
- uses: actions/checkout@v3
799-
- uses: rojopolis/spellcheck-github-actions@0.47.0
802+
- uses: rojopolis/spellcheck-github-actions@0.49.0
800803
name: Spellcheck
801804
```
802805

@@ -953,11 +956,13 @@ Here follows a list of contributors in alphabetical order:
953956
- Matt Calvert, @miff2000
954957
- Matthew Macdonald-Wallace, @proffalken
955958
- Michael Flaxman, @mflaxman
959+
- Micha Hobert, @Isengo1989
956960
- Mike Starov, @xsaero00
957961
- Nicolas Lhomme, @nlhomme
958962
- Pavel Skipenes, @pavelskipenes
959963
- Peter Petrik, @PeterPetrik
960964
- Riccardo Porreca, @riccardoporreca
965+
- Stefan Oderbolz @metaodi
961966
- Stephen Bates, @sbates130272
962967

963968
Do you want to be left out, or feel left out of this list or have a different representation of your name, please submit a pull request or raise an issue
@@ -978,6 +983,7 @@ This repository is licensed under the MIT license.
978983
[aspell-es]: https://packages.debian.org/bookworm/aspell-es
979984
[aspell-ru]: https://packages.debian.org/bookworm/aspell-ru
980985
[aspell-uk]: https://packages.debian.org/bookworm/aspell-uk
986+
[aspell-it]: https://packages.debian.org/bookworm/aspell-it
981987
[GHAMKDBADGE]: https://github.com/rojopolis/spellcheck-github-actions/workflows/Markdownlint%20Action/badge.svg
982988
[GHASPLLBADGE]: https://github.com/rojopolis/spellcheck-github-actions/workflows/Spellcheck%20Action/badge.svg
983989
[expectmatch]: https://facelessuser.github.io/pyspelling/configuration/#expect-match
@@ -992,3 +998,4 @@ This repository is licensed under the MIT license.
992998
[hunspell-fr]: https://packages.debian.org/bookworm/hunspell-fr
993999
[hunspell-ru]: https://packages.debian.org/bookworm/hunspell-ru
9941000
[hunspell-uk]: https://packages.debian.org/bookworm/hunspell-uk
1001+
[hunspell-it]: https://packages.debian.org/bookworm/hunspell-it

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ branding:
2727
icon: type
2828
runs:
2929
using: docker
30-
image: 'docker://jonasbn/github-action-spellcheck:0.47.0'
30+
image: 'docker://jonasbn/github-action-spellcheck:0.49.0'

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bracex==2.5.post1
44
html5lib==1.1
55
lxml==5.3.0
66
Markdown==3.7
7-
pymdown-extensions==10.11.2
7+
pymdown-extensions==10.15.0
88
pyspelling==2.10
99
PyYAML==6.0.2
1010
six==1.16.0

wordlist.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ EscapeAll
1111
Flaxman
1212
GHSL
1313
GitHub
14+
Hobert
1415
InlineHilite
16+
Isengo
1517
José
1618
Lasica
1719
Lhomme
1820
Macdonald
1921
MagicLink
22+
Micha
2023
ODF
2124
OOXML
25+
Oderbolz
2226
Oliveira
2327
PathConverter
2428
Pavel
@@ -76,6 +80,8 @@ jonasbn
7680
lasic
7781
linters
7882
lxml
83+
metaode
84+
metaodi
7985
mflaxman
8086
nlhomme
8187
pavelskipenes

0 commit comments

Comments
 (0)