Skip to content

Commit e5d72ec

Browse files
satterlyclaude
andauthored
Fix release workflow: add missing tests and update gh-pages action (#124)
- 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) <noreply@anthropic.com>
1 parent dfac34d commit e5d72ec

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ jobs:
2222
run:
2323
python3 -m pip install --upgrade pip
2424
pip install -r requirements.txt
25+
- name: nitpick
26+
id: nitpick
27+
run:
28+
sphinx-build -n source build
29+
- name: linkcheck
30+
id: linkcheck
31+
run:
32+
sphinx-build -M linkcheck source build || true
33+
- name: spelling
34+
id: spelling
35+
run:
36+
sphinx-build -b spelling source build/spelling
2537

2638
release:
2739
name: Publish
@@ -46,7 +58,7 @@ jobs:
4658

4759
- name: Publish to GitHub Pages
4860
id: publish
49-
uses: peaceiris/actions-gh-pages@v3
61+
uses: peaceiris/actions-gh-pages@v4
5062
with:
5163
github_token: ${{ secrets.GITHUB_TOKEN }}
5264
publish_dir: build

0 commit comments

Comments
 (0)