From 89faeb8c57bd787a805344c642375804a5059ef6 Mon Sep 17 00:00:00 2001 From: Nick Satterly Date: Sat, 28 Mar 2026 12:00:52 +0100 Subject: [PATCH] Fix release workflow: add missing tests and update gh-pages action - Add nitpick, linkcheck and spelling steps to test job (were missing, so releases skipped all validation) - Update peaceiris/actions-gh-pages from v3 to v4 (v3 uses deprecated Node.js 16) Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3f941c..7705f3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,18 @@ jobs: run: python3 -m pip install --upgrade pip pip install -r requirements.txt + - name: nitpick + id: nitpick + run: + sphinx-build -n source build + - name: linkcheck + id: linkcheck + run: + sphinx-build -M linkcheck source build || true + - name: spelling + id: spelling + run: + sphinx-build -b spelling source build/spelling release: name: Publish @@ -46,7 +58,7 @@ jobs: - name: Publish to GitHub Pages id: publish - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: build