perf: reduce rerank payload latency #47
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: ci | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| cache-dependency-path: packages/openclaw-dory/package-lock.json | |
| - name: Sync dependencies | |
| run: uv sync --frozen --all-groups | |
| - name: Run lint | |
| run: uv run ruff check . | |
| - name: Run tests | |
| run: uv run pytest -q | |
| - name: Build OpenClaw plugin | |
| working-directory: packages/openclaw-dory | |
| run: | | |
| npm ci | |
| npm run build | |
| - name: Build package | |
| run: uv build --wheel --sdist | |
| - name: Build Docker image | |
| run: docker build -t dory:ci . | |
| - name: Validate public eval suite | |
| run: uv run python eval/validate.py | |
| - name: Public safety scan | |
| run: | | |
| python3 scripts/release/check-public-safety.py \ | |
| --path README.md \ | |
| --path AGENTS.md \ | |
| --path CLAUDE.md \ | |
| --path CONTRIBUTING.md \ | |
| --path CODE_OF_CONDUCT.md \ | |
| --path SECURITY.md \ | |
| --path .github/pull_request_template.md \ | |
| --path .github/ISSUE_TEMPLATE \ | |
| --path eval/README.md \ | |
| --path eval/INDEX.md \ | |
| --path eval/categories.md \ | |
| --path eval/public \ | |
| --path examples/corpus \ | |
| --path docs/agent-integration.md \ | |
| --path docs/evals/README.md \ | |
| --path docs/current-state/README.md \ | |
| --path docs/current-state/operations-and-validation.md \ | |
| --path references/runbook.md \ | |
| --path references/client-runbook.md \ | |
| --path LICENSE \ | |
| --path pyproject.toml | |
| - name: Built artifact safety scan | |
| run: python3 scripts/release/check-public-safety.py --path dist |