Skip to content

Commit

Permalink
first attempt add link checks
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Feb 4, 2025
1 parent 24b2b57 commit 8361cf8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 8361cf8

Please sign in to comment.