ci: pin setup-uv to v8.1.0 #4
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| - name: Create venv with Python ${{ matrix.python-version }} | |
| run: uv venv --python ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: uv pip install -e '.[dev]' | |
| - name: Lint | |
| run: uv run ruff check src tests | |
| - name: Type check | |
| run: uv run mypy src | |
| - name: Test (unit tests only; smoke tests need sandbox credentials) | |
| run: uv run pytest -q |