From af7a9c1d5703639c3a6cc615f07491bb2e52f820 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Fri, 1 Mar 2024 21:16:45 +0100 Subject: [PATCH] lychee config test --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de4939b..36c4d89 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 {}