← Commit list

e48c1ea415

Viktor Szakats
Viktor Szakats
2025-09-25
FAILED Duration: 169s

Subject

GHA: use `pyspelling` directly

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

.github/scripts/requirements-docs.txt+5 -0
@@ -0,0 +1,5 @@
+# Copyright (C) Daniel Stenberg, <[email protected]>, et al.
+#
+# SPDX-License-Identifier: curl
+
+pyspelling==2.11
.github/scripts/spellcheck.yaml+1 -0
@@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: curl
#
+# Docs: https://facelessuser.github.io/pyspelling/configuration/
# Docs: https://github.com/UnicornGlobal/spellcheck-github-actions
matrix:
- name: Markdown
.github/workflows/checkdocs.yml+16 -7
@@ -113,13 +113,22 @@ jobs:
# shellcheck disable=SC2046
.github/scripts/cleancmd.pl $(find docs -name '*.md')
- - name: 'setup the custom wordlist'
- run: grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt
-
- - name: 'check Spelling'
- uses: rojopolis/spellcheck-github-actions@739a1e3ceb79a98a5d4a9bf76f351137f9d78892 # v0
- with:
- config_path: .github/scripts/spellcheck.yaml
+ - name: 'install'
+ run: |
+ sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
+ sudo apt-get -o Dpkg::Use-Pty=0 update
+ sudo rm -f /var/lib/man-db/auto-update
+ sudo apt-get -o Dpkg::Use-Pty=0 install aspell aspell-en
+ python3 -m venv ~/venv
+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary -r .github/scripts/requirements-docs.txt
+
+ - name: 'check spelling'
+ run: |
+ source ~/venv/bin/activate
+ grep -v '^#' .github/scripts/spellcheck.words > wordlist.txt
+ aspell --version
+ pyspelling --version
+ pyspelling --verbose --jobs 5 --config .github/scripts/spellcheck.yaml
badwords-synopsis:
name: 'badwords, synopsis'