From 679cfa5d9cc897278ab053b2ac93801a900a9e28 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 11 Sep 2024 11:06:07 -0500 Subject: [PATCH] CLDR-16526 spec: link check spec/rfc - run lychee action --- .github/workflows/gh-pages.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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