Update astral-sh/setup-uv action to v10 #328
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: Format | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v10.0.1 | |
| with: | |
| python-version: "3.14" | |
| enable-cache: true | |
| - name: Install project and development tools | |
| run: uv sync --locked --group dev | |
| - name: Show Python version | |
| run: uv run python --version | |
| - name: Check Python formatting | |
| run: uv run black --check ./scripts | |
| - name: Lint Python | |
| run: uv run ruff check ./scripts | |
| - name: Type check | |
| run: uv run ty check . | |
| - name: Check SQL | |
| run: uv run sqlfluff lint metrics --dialect postgres |