Port docs to kl/sync-layer-reorg #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Dead Links in Markdown Files | |
on: pull_request | |
jobs: | |
check-dead-links: | |
name: Check Dead Links in Markdown Files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Lychee | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y lychee | |
- name: Find and check markdown files | |
run: | | |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
find . -type f -name "*.md" ! -path "*/node_modules/*" ! -path "*/openzeppelin*" ! -path "*/murky/*" -exec lychee --github-token $GITHUB_TOKEN {} + | |
- name: Upload Dead Links Report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dead-links-report | |
path: dead_links_report.txt |