Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v7

- name: Architecture validator matches core
run: |
# The validator is a verbatim copy of the canonical file in
# exelearning/exelearning. Fix it there and re-copy — never edit it
# here, or the copies drift apart silently.
curl -fsSL --retry 3 \
https://raw.githubusercontent.com/exelearning/exelearning/main/scripts/architecture-records.mts \
-o /tmp/architecture-records.core.mts
if ! diff -u /tmp/architecture-records.core.mts tools/architecture-records.mts; then
echo "::error file=tools/architecture-records.mts::drifted from exelearning/exelearning@main."
echo "Re-copy it from core; do not patch it here."
exit 1
fi
echo "In sync with core ($(shasum -a 256 tools/architecture-records.mts | cut -c1-16)…)."
- name: Validate architecture records
run: node tools/architecture-records.mts check

Expand Down