feat: add opt-in response compression via ROBYN_COMPRESSION #1723
Workflow file for this run
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: Lint PR | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - ".github/workflows/lint-pr.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies with uv | |
| run: | | |
| uv pip install ruff isort black | |
| - name: Run linters | |
| # Invoke the tools directly rather than via `uv run`, which would sync the | |
| # project and compile the Rust extension (maturin -> cargo) just to lint | |
| # pure-Python source. That build is unnecessary for static analysis and | |
| # makes linting fail on transient crates.io network errors. | |
| run: | | |
| ruff check . | |
| isort --check-only --diff . |