From 8361cf886aed492e645c8a59957b6b279ec88056 Mon Sep 17 00:00:00 2001 From: BalzaniEdoardo Date: Tue, 4 Feb 2025 16:37:59 -0500 Subject: [PATCH] first attempt add link checks --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e967ed2..b091999a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: - name: Run tox run: tox -e check - prevent_docs_absolute_links: + prevent_docs_absolute_links_and_check_readme: runs-on: ubuntu-latest steps: - name: Checkout code @@ -81,6 +81,15 @@ jobs: - name: Check links run: ./bash_scripts/prevent_absolute_links_to_docs.sh + - name: Install markdown-link-check + run: npm install -g markdown-link-check + + - name: Check links in README.md + run: markdown-link-check README.md --config .markdown-link-check.json + + - name: Check links in CONTRIBUTING.md + run: markdown-link-check CONTRIBUTING.md --config .markdown-link-check.json + check: if: ${{ !github.event.pull_request.draft }} needs: