Merge pull request #6812 from elsirion/2025-02-ln-diagrams #50
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
on: [push, pull_request] | |
name: Markdown Link Check | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-22.04 | |
continue-on-error: true # can fail for external reasons, so don't be a blocker | |
steps: | |
- uses: actions/checkout@v4 | |
# Persist lychee cache, so we don't bother with checking same links all the time | |
# Should also minimize number of flakes. | |
- uses: actions/cache@v4 | |
with: | |
path: .lycheecache | |
key: cache-lychee-${{ github.sha }} | |
restore-keys: cache-lychee- | |
- name: Check links | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
# TODO: add: | |
# --include-fragments | |
# when it is supported in lychee: https://github.com/lycheeverse/lychee/issues/1613 | |
args: | | |
--no-progress | |
--cache | |
docs README.md |