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

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
This commit is contained in:
vladislav doster 2022-05-21 23:04:56 -05:00 committed by GitHub
parent 8620574a55
commit 07cde66008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,6 @@ on:
workflow_dispatch:
jobs:
zshelldoc:
runs-on: ubuntu-latest
steps:
@ -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

View file

@ -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