Skip to content

Update astral-sh/setup-uv action to v10 #328

Update astral-sh/setup-uv action to v10

Update astral-sh/setup-uv action to v10 #328

Workflow file for this run

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