File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 2323 uses : PHPCSStandards/.github/.github/workflows/reusable-yamllint.yml@main
2424 with :
2525 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
52+ # Run lychee in a different directory.
53+ # Note: This changes the lychee output directory as well.
54+ workingDirectory : website/subdir
You can’t perform that action at this time.
0 commit comments