File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 23
23
uses : PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@main
24
24
with :
25
25
strict : true
26
+
27
+ linkcheck :
28
+ name : " Check links"
29
+ runs-on : ubuntu-latest
30
+
31
+ steps :
32
+ - name : Checkout code
33
+ uses : actions/checkout@v4
34
+
35
+ - name : Restore lychee cache
36
+ uses : actions/cache@v4
37
+ with :
38
+ path : .lycheecache
39
+ key : cache-lychee-${{ github.sha }}
40
+ restore-keys : cache-lychee-
41
+
42
+ - name : Link Checker
43
+ uses : lycheeverse/lychee-action@v2
44
+ with :
45
+ # Check all markdown, html and reStructuredText files in repo (default)
46
+ args : --cache --max-cache-age 1w --verbose './**/*.md'
47
+ format : markdown
48
+ # Use different output file path
49
+ # output: /tmp/foo.txt
50
+ token : ${{ secrets.GITHUB_TOKEN }}
51
+ fail : true
You can’t perform that action at this time.
0 commit comments