summaryrefslogtreecommitdiff
path: root/.github/workflows/linkcheck.yml
blob: b9e81bdbe1c4865eabcc5bb4bba1ad86119a2c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "linkcheck"
on:
  push:
    branches:
      - main

permissions:
  contents: read

jobs:
  docs-linkcheck:
    runs-on: ubuntu-latest
    name: "linkcheck"
    timeout-minutes: 20
    steps:
      - uses: actions/checkout@v2.3.4
        with:
          persist-credentials: false
      - name: Setup python
        uses: actions/setup-python@v2.3.0
        with:
          python-version: 3.9
      - uses: actions-rs/toolchain@v1.0.7
        with:
          profile: minimal
          toolchain: stable
          override: true
          default: true
      - run: python -m pip install -U tox
      - run: tox -r --  --color=yes
        env:
          TOXENV: docs-linkcheck