Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Restore lychee cache
uses: actions/cache@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-

- name: 🔗 Check Links
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2
with:
fail: true
args: --config .github/workflows/lychee.toml './**/*.md'
jobSummary: true
args: --base . --cache --max-cache-age 1d --config .github/workflows/lychee.toml './**/*.md'
9 changes: 6 additions & 3 deletions .github/workflows/lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@ include_verbatim = false
glob_ignore_case = false

# Exclude URLs and mail addresses from checking (supports regex).
#exclude = [ '.*\.github.com\.*' ]
# receiving forbidden but valid link, receiving timeout but valid link
exclude = ['https://opensource.org/licenses/MIT', 'https://twitter.com/pestphp', '^https://laracasts.com/series/(pest-driven-laravel|pest-from-scratch)$']

exclude = [
'https://opensource.org/licenses/MIT',
'https://twitter.com/pestphp',
'^https://laracasts.com/series/(pest-driven-laravel|pest-from-scratch)$',
'^https://www.linkedin.com/learning/.*$',
]

# Exclude these filesystem paths from getting checked.
#exclude_path = ["file/path/to/Ignore", "./other/file/path/to/Ignore"]
Expand Down