fix(router): exclude hard-cooldowned providers + DeepSeek V4 + Codex plan-tier #215
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: Publish Dry Run | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "Dockerfile" | |
| - ".dockerignore" | |
| - "pyproject.toml" | |
| - "faigate/__init__.py" | |
| - "README.md" | |
| - "RELEASES.md" | |
| - "docs/PUBLISHING.md" | |
| - "scripts/faigate-release" | |
| - "scripts/faigate-verify" | |
| - ".github/workflows/notify-tap.yml" | |
| - ".github/workflows/publish-dry-run.yml" | |
| - ".github/workflows/release-artifacts.yml" | |
| jobs: | |
| release-helper-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Exercise release helper in dry-run mode | |
| run: python scripts/faigate-release --dry-run --version 9.9.9 | |
| python-publish-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Build distributions | |
| run: | | |
| python -m pip install --upgrade pip build twine | |
| python -m build | |
| - name: Validate Python distributions | |
| run: python -m twine check dist/* | |
| - name: Upload dry-run Python artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: python-publish-dry-run | |
| path: dist/* | |
| ghcr-publish-dry-run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/metadata-action@v5 | |
| id: meta | |
| with: | |
| images: ghcr.io/${{ github.repository }} | |
| tags: | | |
| type=raw,value=dry-run | |
| type=sha | |
| - name: Build container image without pushing | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| push: false | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} |