chore: update lychee gh workflow to use CLI tool directly

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-12-27 14:00:42 -05:00
1 parent eb4832d01a
commit 100002e236
1 file changed
+21 -5
+21 -5
View File
@@ -20,11 +20,27 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Scan for broken links
uses: lycheeverse/lychee-action@v1
with:
args: --verbose --no-progress --exclude-mail './**/*.md'
output: /tmp/results.md
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Setup Workflow Tools
shell: bash
run: brew install lychee
- name: Scan For Broken Links
shell: bash
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
lychee --verbose --no-progress \
--format markdown \
--output results.md \
--exclude-all-private \
--exclude-mail \
./**/*.md || true
- name: Print Output
run: cat results.md
- name: Find Link Checker Issue
id: find-issue