Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: docs workflow should fail if out-of-date #278

Merged
merged 1 commit into from
May 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
workflow_dispatch:

jobs:

zshelldoc:
runs-on: ubuntu-latest
steps:
Expand All @@ -26,5 +25,6 @@ jobs:
- name: check for out-of-date documentation
run: |
if ! git --no-pager diff --exit-code; then
echo "::set-output zshelldocs are out-of-date, run 'make doc'"
echo "::error:: Z-shelldocs are out-of-date. To regenerate, run 'make doc'"
exit 1
fi
2 changes: 1 addition & 1 deletion doc/zsdoc/zinit-install.zsh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ ____
package. Connects to Github releases page.
____

Has 130 line(s). Calls functions:
Has 115 line(s). Calls functions:

.zinit-get-latest-gh-r-url-part
`-- zinit.zsh/+zinit-message
Expand Down