Skip to content

Commit 8f61941

Browse files
committed
Create action for auto-checking availability of links in documentation
The link-checker was introduced some time ago, however it did not have an action
1 parent 127d5f2 commit 8f61941

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Python application
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '0 6 * * 5'
10+
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout core repository
22+
uses: actions/checkout@v3
23+
with:
24+
repository: jcryptool/core
25+
path: core
26+
27+
- name: Checkout crypto repository
28+
uses: actions/checkout@v3
29+
with:
30+
repository: jcryptool/crypto
31+
path: crypto
32+
33+
- name: Run link checker
34+
uses: actions/setup-python@v3
35+
with:
36+
python-version: "3.10"
37+
- name: Check available links in documentation
38+
run: 'python core/org.jcryptool.releng/helper/link_availability_checker.py --summary --results-dead --result-paths -i ignored_links.txt core crypto'

0 commit comments

Comments
 (0)