Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ci: Require check_docs (#32470)

Peter Tripp3fb28f695f8c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eb7a36db5ba..f2cdb2d0b92 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -498,6 +498,7 @@ jobs:
needs:
- job_spec
- style
+ - check_docs
- migration_checks
# run_tests: If adding required tests, add them here and to script below.
- workspace_hack
@@ -515,7 +516,8 @@ jobs:
# Check dependent jobs...
RET_CODE=0
# Always check style
- [[ "${{ needs.style.result }}" != 'success' ]] && { RET_CODE=1; echo "style tests failed"; }
+ [[ "${{ needs.style.result }}" != 'success' ]] && { RET_CODE=1; echo "style tests failed"; }
+ [[ "${{ needs.check_docs.result }}" != 'success' ]] && { RET_CODE=1; echo "docs checks failed"; }
# Only check test jobs if they were supposed to run
if [[ "${{ needs.job_spec.outputs.run_tests }}" == "true" ]]; then