Skip to content

Commit

Permalink
Update HydeStan workflow to check documentation formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 12, 2023
1 parent 0594ddc commit 408ed34
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/hyde-stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ jobs:

- name: Run Static Analysis
run: php ./monorepo/HydeStan/run.php

- name: Check Documentation Formatting
run: |
php ./monorepo/scripts/docs/MarkdownFormatter.php
if git diff --exit-code > /dev/null; then
echo "Documentation formatting is valid."
else
echo "Documentation formatting is not valid. Please run 'php ./monorepo/scripts/docs/MarkdownFormatter.php' to fix it."
exit 1
fi

0 comments on commit 408ed34

Please sign in to comment.