name: Doc Sync Check
on: [push, pull_request]
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.12'
      - name: Check README mentions match file tree
        run: python3 .github/scripts/check_doc_sync.py
      - name: Glossary lint
        run: python3 .github/scripts/glossary_lint.py
      - name: Validate CITATION.cff
        run: python3 -c "import yaml; yaml.safe_load(open('CITATION.cff'))"
