Skip to content

Commit 77ec7a8

Browse files
committed
Use lycheeverse/lychee-action@v1
1 parent fcc004c commit 77ec7a8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/check-urls.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
check-urls:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313

14-
- name: Check URLs
15-
run: |
16-
curl -LO 'https://github.com/lycheeverse/lychee/releases/download/v0.10.0/lychee-v0.10.0-x86_64-unknown-linux-gnu.tar.gz'
17-
tar -xvzf lychee-v0.10.0-x86_64-unknown-linux-gnu.tar.gz
18-
chmod +x lychee
19-
./lychee "content/*/*/*.md" --no-progress --verbose --require-https
20-
env:
21-
CLICOLOR_FORCE: 1
14+
- name: Link Checker
15+
id: lychee
16+
uses: lycheeverse/lychee-action@v1
17+
with:
18+
args: --no-progress --verbose --require-https 'content/*/*/*.md'
19+
fail: true
20+
env:
21+
CLICOLOR_FORCE: 1

0 commit comments

Comments
 (0)