Skip to content

Commit

Permalink
actions: Link check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Parnell authored and odscjames committed Dec 7, 2022
1 parent 35fe65d commit d1cbc28
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Link Check
on: [push, pull_request]

jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.9
architecture: x64
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
- run: pip install -r requirements.txt
- run: cd ./docs/ && make dirhtml
- run: cd ./docs/ && make linkcheck

0 comments on commit d1cbc28

Please sign in to comment.