Repository navigation
docs: align self-audit SHA line with submission-v1 peel parent #34
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: enumerate | |
| # Short enumeration tier for CI (new file; does not edit ci.yml). | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| enumerate-quick: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install zig 0.16.0 | |
| run: | | |
| curl -fsSL https://ziglang.org/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz -o zig.tar.xz | |
| sudo tar -xJf zig.tar.xz -C /opt | |
| echo "/opt/zig-x86_64-linux-0.16.0" >> "$GITHUB_PATH" | |
| - name: Install objcopy toolchain | |
| run: sudo apt-get update && sudo apt-get install -y binutils gcc | |
| - name: Quick enumeration | |
| run: bash scripts/run-enumerate.sh --quick | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: enumeration-quick | |
| path: | | |
| docs/evidence/fragments/enumeration.json | |
| docs/evidence/divergences.md | |
| docs/evidence/enumeration.log | |
| docs/evidence/enumeration.md | |
| - name: Step Summary | |
| run: | | |
| python3 tools/scorecard.py . | |
| python3 - <<'PY' | |
| import json, os | |
| from pathlib import Path | |
| card = json.loads(Path("docs/evidence/scorecard.json").read_text()) | |
| enum = card.get("enumeration", {}) | |
| Path(os.environ["GITHUB_STEP_SUMMARY"]).write_text( | |
| "## Enumeration\n\n```json\n" | |
| + json.dumps(enum, indent=2)[:6000] | |
| + "\n```\n" | |
| ) | |
| PY |