Skip to content

linkcheck

linkcheck #568

Workflow file for this run

name: linkcheck
# Only build PRs, the main branch, and releases.
on:
pull_request:
push:
branches:
- main
release:
types:
- published
schedule:
- cron: "14 14 20 * *"
jobs:
linkcheck:
runs-on: ubuntu-latest
continue-on-error: true
steps:
# Cancel any previous run of the test job; [pin v0.10.0 (2022-06-27)]
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@bb6001c4ea612bf59c3abfc4756fbceee4f870c7
with:
access_token: ${{ github.token }}
# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Check links
shell: bash -l {0}
run: make linkcheck