Skip to content

Merge pull request #7516 from toabctl/ubuntu-22.04-support #1177

Merge pull request #7516 from toabctl/ubuntu-22.04-support

Merge pull request #7516 from toabctl/ubuntu-22.04-support #1177

Workflow file for this run

name: Link checker
on:
pull_request:
paths:
- 'userdocs/**'
- '**.md'
push:
branches:
- main
paths:
- 'userdocs/**'
- '**.md'
jobs:
link-checker:
name: Check site links
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c #v5.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.20.x
cache: false
- name: Install doc dependencies
run: make install-site-deps
- name: Build docs for link check
run: make build-pages
# Using link-checker action to check links in Markdown, HTML files
- name: Link Checker
uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 #v1.8.0
with:
fail: true
args: --exclude-all-private --exclude-mail --exclude-file .github/workflows/exclude-file.txt --verbose --no-progress './**/*.md' './**/*.html'