Harden accepted epoch object (#42) #93
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Identity | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| identity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify root identity files | |
| run: | | |
| set -euo pipefail | |
| test -f README.md | |
| test -f WORLD.md | |
| test -f VERSION | |
| test -f LICENSE | |
| - name: Verify required directories | |
| run: | | |
| set -euo pipefail | |
| for d in current epochs indexes projections/repo-entry projections/host-entry projections/package-entry projections/artifact-entry reports/daily reports/weekly reports/release signatures schemas tests | |
| do | |
| test -d "$d" | |
| done | |
| - name: Verify README boundary strings | |
| run: | | |
| set -euo pipefail | |
| grep -Fqx "# ORBISTIUM" README.md | |
| grep -Fq "ORBISTIUM is the canonical world-state repository for the Verifrax system." README.md | |
| grep -Fq "ORBISTIUM does not define constitutional law." README.md | |
| grep -Fq "SYNTAGMARIUM -> ORBISTIUM <- CONSONORIUM" README.md | |
| - name: Verify current-state test surface | |
| run: | | |
| set -euo pipefail | |
| test -f tests/test_current_state.py |