Skip to content

Commit c78715f

Browse files
committed
improvement(ci): share validated docs compilation with repository audits
1 parent 979ade4 commit c78715f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎.github/workflows/checks.yml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,10 @@ jobs:
685685
"$RUNNER_TEMP/actionlint" -color -shellcheck= -pyflakes=
686686
687687
- name: Generate documentation modules for import audits
688-
run: bun run --cwd apps/docs content:generate
688+
uses: ./.github/actions/docs-content-cache
689+
with:
690+
provider: ${{ vars.CI_PROVIDER }}
691+
namespace: lint
689692

690693
# Every zero-argument `check:*` script, run concurrently. The list is derived in
691694
# scripts/run-audits.ts, which also writes the per-audit timing table to the job
@@ -727,6 +730,10 @@ jobs:
727730
fi
728731
echo "✅ Schema and migrations are in sync"
729732
733+
- name: Bound documentation content cache
734+
if: always()
735+
run: bash .github/actions/docs-content-cache/prune.sh content
736+
730737
# Type errors in apps/sim's unit tests, ratcheted per file and TS code against a committed
731738
# baseline (scripts/check-test-types.ts). It type-checks the whole app with its ~3.4k test files:
732739
# lint's uncached apps/sim type-check alone takes ~35 s on this runner, so it gets its own job

0 commit comments

Comments
 (0)