Skip to content

Commit 067678c

Browse files
committed
switch to inline arguments
1 parent f470d1d commit 067678c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/link_check.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# This action checks for broken links
2-
name: Check Links
1+
name: Check for broken links
32

43
on:
54
push:
65
pull_request:
76
schedule:
8-
- cron: "00 00 * * *"
7+
# Runs weekly on Monday at 00:00
8+
- cron: "0 0 * * 1"
99

1010
jobs:
1111
linkChecker:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v6
15-
16-
- name: Restore lychee cache
17-
uses: actions/cache@v5
18-
with:
19-
path: .lycheecache
20-
key: cache-lychee-${{ github.sha }}
21-
restore-keys: cache-lychee-
22-
2315
- name: 🔗 Check Links
2416
uses: lycheeverse/lychee-action@v2
2517
with:
26-
jobSummary: true
27-
args: --base-url "$(pwd)" --cache --max-cache-age 1d --config .github/workflows/lychee.toml './**/*.md'
18+
lycheeVersion: latest
19+
format: markdown
20+
args: >
21+
--base https://pestphp.com
22+
--user-agent "Mozilla 5.0"
23+
--exclude "https?://(www\.)?(twitter\.com|instagram\.com|linkedin\.com)"
24+
--max-retries 5
25+
--verbose
26+
--no-progress
27+
"**/*.md"

0 commit comments

Comments
 (0)