-
Notifications
You must be signed in to change notification settings - Fork 35
54 lines (44 loc) · 1.18 KB
/
Copy pathlinks.yml
File metadata and controls
54 lines (44 loc) · 1.18 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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: arduino/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:
args: '--config lychee.toml --exclude-path "(^|/)404\\.html$" .build/site'
fail: true