diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36c4d89..4639846 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,12 +75,7 @@ jobs: - 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 {} + git ls-files -z -- 'src/**.md' | xargs -I {} lychee validate {}