Skip to content

Commit

Permalink
CLDR-16526 spec: link check spec/rfc
Browse files Browse the repository at this point in the history
- run lychee action
- output summary
  • Loading branch information
srl295 committed Sep 11, 2024
1 parent e337fcc commit 232c25b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,23 @@ jobs:
# Warn, don't fail yet
run: npx markdownlint-cli *.md {specs,docs}/*.md || (echo Warning, please fix these ; true)
- name: Note any changes
# if the archiver had to update anything, or if anchors changed
run: git status ; git diff
- 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"
fail: false
format: markdown
output: linkcheck.md
- name: Link Checker Summary
run: cat linkcheck.md >> $GITHUB_STEP_SUMMARY
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
Expand Down

0 comments on commit 232c25b

Please sign in to comment.