Skip to content

Commit

Permalink
lychee config test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Mar 1, 2024
1 parent 3898ed0 commit af7a9c1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,24 @@ jobs:
name: Check Front Matter
run: |
git ls-files -z -- 'src/**.md' | xargs -0 -n 1 -- python -m yamllint
check_links:
name: Check Links
runs-on: ubuntu-latest

steps:
-
name: Checkout repository
uses: actions/checkout@v3
-
name: Install lychee
run: npm install -g lychee
-
name: Find Markdown files
id: find_md_files
run: |
find src -name "*.md" > md_files.txt
-
name: Check links
run: |
cat md_files.txt | xargs -I {} lychee validate {}

0 comments on commit af7a9c1

Please sign in to comment.