Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Change Log for spellcheck-github-actions

## 0.53.0, 2025-10-25, maintenance release, update not required

- Docker image updated to Python 3.14.0 trixie slim [Release notes for Python 3.14.0](https://docs.python.org/release/3.14.0/whatsnew/changelog.html), this originated from the PR mentioned below, however updated to Trixie from Bookworm and as always the slim variant is used

- Bumped the requirement for cython to `3.0.11` or above, addressing a build issue with lxml, located when testing the PR : [#274](https://github.com/rojopolis/spellcheck-github-actions/pull/274) from @dependabot, the above update of Python

- In general the Docker build file had a few updates since the above changes required some tweaking of the Dockerfile
- Order of installation of dependencies adjusted to ensure that lxml can build correctly
- Installation of:
- build-essential
- pkg-config
- libxml2-dev
- libxslt1-dev
- zlib1g-dev

## 0.52.0, 2025-09-10, feature release, update not required

- With version 2.11 of **PySpelling** a new command line option `--skip-dict-compile` is introduced to **PySpelling** and is adopted by this action. This will skip the dictionary compiling step if the dictionary already exists. Changes to a custom dictionary will be ignored., see the [release notes for PySpelling](https://github.com/facelessuser/pyspelling/releases/tag/2.11). Do see the updated documentation for details.
Expand Down
13 changes: 8 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# REF: https://hub.docker.com/_/python
# Python 3.13.7-slim-bookworm
FROM python@sha256:5fa2567616c8d0e9a9470c8b4c1cb8b6f4d9f2fd45a548df393bed3537a7a324
# Python 3.14.0-slim-trixie
FROM python@sha256:4ed33101ee7ec299041cc41dd268dae17031184be94384b1ce7936dc4e5dead3

LABEL "com.github.actions.name"="Spellcheck Action"
LABEL "com.github.actions.description"="Check spelling of files in repository"
Expand All @@ -17,11 +17,11 @@ COPY constraint.txt /constraint.txt
COPY spellcheck.yaml /spellcheck.yaml
COPY pwc.py /pwc.py

ENV PIP_CONSTRAINT=/constraint.txt
RUN pip3 install -r /requirements.txt

# REF: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
RUN apt-get update && apt-get install -y \
build-essential pkg-config \
libxml2-dev libxslt1-dev \
zlib1g-dev \
aspell hunspell \
aspell-en hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-us \
aspell-de hunspell-de-at hunspell-de-ch hunspell-de-de \
Expand All @@ -32,5 +32,8 @@ RUN apt-get update && apt-get install -y \
aspell-it hunspell-it \
&& rm -rf /var/lib/apt/lists/*

ENV PIP_CONSTRAINT=/constraint.txt
RUN pip3 install -r /requirements.txt

WORKDIR /tmp
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
2 changes: 1 addition & 1 deletion constraint.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cython<3
cython>=3.0.11
8 changes: 8 additions & 0 deletions wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Cavalcanti
Customizable
Cython
DockerHub
Dockerfile
Docusaurus
EscapeAll
Flaxman
Expand Down Expand Up @@ -47,6 +48,7 @@ SuperFences
Superfences
Superfencing
Tasklist
Trixie
UI
Ukranian
Vitepress
Expand All @@ -64,10 +66,12 @@ brooke
chrispat
codefences
config
cython
de
debian
declutter
dependabot
dev
edumco
electrocucaracha
endoflife
Expand All @@ -82,6 +86,8 @@ html
https
jonasbn
lasic
libxml
libxslt
linters
lxml
metaode
Expand All @@ -105,7 +111,9 @@ subdirectory
sxd
tj
toolchain
trixie
wcmatch
www
xsaero
zipp
zlib