diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index c5c9a7a6..9971d183 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -25,7 +25,7 @@ jobs: uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # ratchet:docker/setup-buildx-action@v3 - name: Login to GitHub Registry - uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # ratchet:docker/login-action@v3 + uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # ratchet:docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/spelling_action.yml b/.github/workflows/spelling_action.yml index 9c228194..1b1bd272 100644 --- a/.github/workflows/spelling_action.yml +++ b/.github/workflows/spelling_action.yml @@ -15,7 +15,7 @@ jobs: # The checkout step - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v4 - - uses: rojopolis/spellcheck-github-actions@35a02bae020e6999c5c37fabaf447f2eb8822ca7 # ratchet:rojopolis/spellcheck-github-actions@v0 + - uses: rojopolis/spellcheck-github-actions@739a1e3ceb79a98a5d4a9bf76f351137f9d78892 # ratchet:rojopolis/spellcheck-github-actions@v0 name: Spellcheck with: source_files: README.md CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ce01552..1b6f4b67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/Dockerfile b/Dockerfile index 970ef52e..758e2944 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" @@ -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 \ @@ -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"] diff --git a/README.md b/README.md index 52cb18de..b56ec182 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ jobs: steps: # The checkout step - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck ``` @@ -207,7 +207,7 @@ jobs: steps: # The checkout step - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: source_files: README.md CHANGELOG.md notes/Notes.md @@ -235,7 +235,7 @@ jobs: steps: # The checkout step - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: source_files: README.md CHANGELOG.md notes/Notes.md @@ -333,7 +333,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: config_path: config/.spellcheck.yml # put path to configuration file here @@ -464,7 +464,7 @@ See the documentation for [PySpelling](https://facelessuser.github.io/pyspelling The action can be specified to use `hunspell` instead of `aspell` by setting the `spellchecker` parameter to `hunspell`. ```yaml - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: task_name: Markdown @@ -564,7 +564,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: config_path: .github/spellcheck.yml @@ -573,7 +573,7 @@ jobs: This can be useful if you have a large custom dictionary that does not change often, as it can save time during the action run. -The feature was added in version `0.52.0` of the action and it can be disabled by setting the input to `false` or omitting it altogether. The default value is `false`. +The feature was added in version `0.53.0` of the action and it can be disabled by setting the input to `false` or omitting it altogether. The default value is `false`. ## Tips @@ -595,7 +595,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck with: config_path: .github/spellcheck.yml # <--- put path to configuration file here @@ -836,7 +836,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: rojopolis/spellcheck-github-actions@0.52.0 + - uses: rojopolis/spellcheck-github-actions@0.53.0 name: Spellcheck ``` diff --git a/action.yml b/action.yml index 22002139..80ed9fb0 100644 --- a/action.yml +++ b/action.yml @@ -33,4 +33,4 @@ branding: icon: type runs: using: docker - image: 'docker://jonasbn/github-action-spellcheck:0.52.0' + image: 'docker://jonasbn/github-action-spellcheck:0.53.0' diff --git a/constraint.txt b/constraint.txt index 039eb0db..206bb417 100644 --- a/constraint.txt +++ b/constraint.txt @@ -1 +1 @@ -cython<3 +cython>=3.0.11 diff --git a/wordlist.txt b/wordlist.txt index ee8b1d8c..19a2550e 100644 --- a/wordlist.txt +++ b/wordlist.txt @@ -7,6 +7,7 @@ Cavalcanti Customizable Cython DockerHub +Dockerfile Docusaurus EscapeAll Flaxman @@ -47,6 +48,7 @@ SuperFences Superfences Superfencing Tasklist +Trixie UI Ukranian Vitepress @@ -64,10 +66,12 @@ brooke chrispat codefences config +cython de debian declutter dependabot +dev edumco electrocucaracha endoflife @@ -82,6 +86,8 @@ html https jonasbn lasic +libxml +libxslt linters lxml metaode @@ -105,7 +111,9 @@ subdirectory sxd tj toolchain +trixie wcmatch www xsaero zipp +zlib