Cleanup Hybrid Nodes docs #1488
Workflow file for this run
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
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@9bb56186c3b09b4f86b1c65136769dd318469633 #v4.1.2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d #v5.1.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 | |
with: | |
go-version: 1.21.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@c053181aa0c3d17606addfe97a9075a32723548a #v1.9.3 | |
with: | |
fail: true | |
args: --exclude-all-private --exclude-mail --exclude-file .github/workflows/exclude-file.txt --verbose --no-progress './**/*.md' './**/*.html' |