Skip to content

Links

Links #240

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2026 Cisco and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
name: Links
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 06 * * *"
jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "recursive"
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: "1.23.1"
- name: Setup Task
uses: go-task/setup-task@v2
with:
version: "3.48.0"
- name: Setup UV
shell: bash
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Update GITHUB_PATH
shell: bash
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Build docs
shell: bash
run: |
task build
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.0.2 # CVE-2024-48908: pin >=2.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: '--config lychee.toml --exclude-path "(^|/)404\\.html$" .build/site'
fail: true