-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
127d5f2
commit 8f61941
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: Python application | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 6 * * 5' | ||
|
||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout core repository | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: jcryptool/core | ||
path: core | ||
|
||
- name: Checkout crypto repository | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: jcryptool/crypto | ||
path: crypto | ||
|
||
- name: Run link checker | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.10" | ||
- name: Check available links in documentation | ||
run: 'python core/org.jcryptool.releng/helper/link_availability_checker.py --summary --results-dead --result-paths -i ignored_links.txt core crypto' |