From 8ab9b9844c502536b12611a78d39ca4cadf871be Mon Sep 17 00:00:00 2001 From: William Hobbs Date: Thu, 24 Oct 2024 16:23:18 -0700 Subject: [PATCH] github: run linkcheck in workflow Problem: our links have become stale due to not enforcing sphinx's linkcheck option in CI. Add that back in. Fixes #284 --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1adc4b50..8d4f1623 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -44,3 +44,6 @@ jobs: uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0 with: files: "*.rst */*.rst */*/*.rst" + + - name: make linkcheck + run: make linkcheck