Skip to content

Commit

Permalink
github: run linkcheck in workflow
Browse files Browse the repository at this point in the history
Problem: our links have become stale due to not
enforcing sphinx's linkcheck option in CI.

Add that back in.

Fixes #284
  • Loading branch information
wihobbs committed Oct 24, 2024
1 parent a01a440 commit 8ab9b98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "Testing that you built the auto-examples, if this fails run flux start make html locally."
python .github/scripts/check_diff.py /tmp/auto_examples ./auto_examples
spelling:
spell-and-linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -44,3 +44,6 @@ jobs:
uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0
with:
files: "*.rst */*.rst */*/*.rst"

- name: make linkcheck
run: make linkcheck

0 comments on commit 8ab9b98

Please sign in to comment.