forked from UniversalRobots/Universal_Robots_Client_Library
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (46 loc) · 1.66 KB
/
check_links.yml
File metadata and controls
47 lines (46 loc) · 1.66 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
name: Check Links
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
check_links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Restore lychee cache
id: restore-cache
uses: actions/cache/restore@v5
with:
path: .lycheecache
key: cache-lychee-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: cache-lychee-
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: true
args: >
--verbose
--no-progress
--cache
--cache-exclude-status '429, 403, 404, 502'
--max-cache-age 2d
--exclude '^http://192\.168\.56\.101'
--exclude 'kernel\.org\/pub\/linux\/kernel'
--exclude 'releases/download/v\$%7BURCAP_VERSION%7D/externalcontrol-\$%7BURCAP_VERSION%7D\.jar'
--exclude '^http://rosin-project\.eu'
--exclude '2013181\/gdb-causes-sem-wait-to-fail-with-eintr-error'
--exclude 'https:\/\/lists\.apple\.com\/archives\/darwin-kernel\/2009\/Apr\/msg00010\.html'
--exclude 'https:\/\/wiki\.linuxfoundation\.org\/realtime\/preempt_rt_versions'
--exclude 'https:\/\/en\.cppreference\.com\/w\/cpp\/string\/basic_string\/to_string'
--max-concurrency 1
'./**/*.md' './**/*.html' './**/*.rst' './**/*.cpp' './**/*.h' './**/*.py'
- name: Save lychee cache
uses: actions/cache/save@v5
if: always()
with:
path: .lycheecache
key: ${{ steps.restore-cache.outputs.cache-primary-key }}