Skip to content

Commit

Permalink
chore: word count reports in CI (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen authored Sep 11, 2024
1 parent 57e9c52 commit bab544a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,21 @@ jobs:
- name: Generate HTML
run: |
lake exe generate-manual --depth 2
lake exe generate-manual --depth 2 --with-word-count "words.txt"
- name: Report word count
run: |
echo "Word Counts"
echo "-----------"
cat words.txt
- name: Save word count
run: |
echo "# Word Counts" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
cat words.txt >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
- name: Offline link checker
uses: lycheeverse/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "84302ae695e0e3b21f1f0ad24b5420b12ee1312c",
"rev": "82bdbe1dbb4df2e666e9a62d7f1302ac5cc23768",
"name": "subverso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand All @@ -25,7 +25,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "099f82f9faa3f550f242df55dbacba160bf86fa4",
"rev": "04444b853eeacdde5392dc37488a1e6e6dd90acb",
"name": "verso",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand Down

0 comments on commit bab544a

Please sign in to comment.