Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 085df2c

Browse files
committed
Fix linkcheck to use action too
1 parent 089fb4f commit 085df2c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/linkcheck.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Link Check
33
on:
44
workflow_dispatch:
55
schedule:
6-
# Run every Monday at 8am to check URL links still resolve
6+
# Run weekly to check URL links still resolve
77
- cron: "0 8 * * WED"
88

99
jobs:
@@ -18,18 +18,12 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
21-
with:
22-
fetch-depth: 0
2321

24-
- name: Install python version
25-
uses: actions/setup-python@v4
22+
- name: Install python packages
23+
uses: ./.github/actions/install_requirements
2624
with:
27-
python-version: ${{ matrix.python }}
28-
29-
- name: Install dependencies
30-
run: |
31-
touch requirements_dev.txt
32-
pip install -r requirements_dev.txt -e .[dev]
25+
requirements_file: requirements-dev-3.x.txt
26+
install_options: -e .[dev]
3327

3428
- name: Check links
3529
run: tox -e docs build -- -b linkcheck

0 commit comments

Comments
 (0)