diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index cb9285a103e..8b894e0f8d0 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -59,6 +59,16 @@ jobs: - name: Lint Markdown # Warn, don't fail yet run: npx markdownlint-cli *.md {specs,docs}/*.md || (echo Warning, please fix these ; true) + - name: Restore lychee cache + uses: actions/cache@v3 + with: + path: .lycheecache + key: cache-lychee-${{ github.sha }} + restore-keys: cache-lychee- + - name: Run lychee + uses: lycheeverse/lychee-action@v1 + with: + args: "-n --cache --max-cache-age 10d docs/rfc docs/ldml" - name: Note any changes run: git status ; git diff - uses: ruby/setup-ruby@v1