Set version to 0.11.5 #830
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: Lints | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| name: Run lints | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run ruff | |
| uses: astral-sh/ruff-action@v3 | |
| black: | |
| name: Run black check | |
| runs-on: ubuntu-latest | |
| env: | |
| UV_PYTHON_PREFERENCE: only-managed | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Install black | |
| run: uv pip install black | |
| - name: Check formatting | |
| run: | | |
| uv run black --check src | |
| uv run black --check tests | |
| validate-dependencies: | |
| name: Validate python_depends.json | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Validate python_depends.json is up-to-date | |
| run: | | |
| python update_python_depends.py --validate || { | |
| echo "Error: python_depends.json is out of date." | |
| echo "Please run: python update_python_depends.py" | |
| exit 1 | |
| } |