- ext/liboqs: vendored (ML-KEM/ML-DSA ready), -isystem ext/liboqs/include - node/PQHybrid.*: KDF over X25519 agree + ML-KEM-768 encaps scaffold - wire into IncomingPacket/Node/Bond/selftest/OneService paths - zeroidc ext.rs: URL param parser unit tests - SPEC.md: BackOne quantum-safe task table (T1–T23) - research doc: hybrid PQ fork plan (ML-KEM+X25519, ML-DSA+Ed25519)
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
name: docs-sync
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/algorithms/**'
|
|
- 'scripts/update_docs_from_yaml.py'
|
|
- 'scripts/update_alg_support_table.py'
|
|
- 'scripts/generate_algorithms_md.py'
|
|
- 'README.md'
|
|
- 'ALGORITHMS.md'
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v4
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install deps
|
|
run: pip install --require-hashes -r .github/workflows/requirements.txt
|
|
- name: Regenerate docs
|
|
run: python3 scripts/update_docs_from_yaml.py --liboqs-root .
|
|
- name: Fail if generated files drift
|
|
run: |
|
|
if ! git diff --quiet; then
|
|
echo "Generated docs are out of sync with YAML. Run scripts/update_docs_from_yaml.py and commit the result."
|
|
git --no-pager diff
|
|
exit 1
|
|
fi
|