-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: word count reports in CI (#35)
- Loading branch information
1 parent
57e9c52
commit bab544a
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
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