Skip to content

Commit fc8f879

Browse files
committed
Use lycheeverse/lychee-action@v1 for link checker
1 parent 1e1ab0b commit fc8f879

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/check-urls.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ 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: content/*/*/*.md --no-progress --verbose --require-https
19+
fail: true

0 commit comments

Comments
 (0)