Skip to content

build(deps-dev): update ruff requirement from >=0.15.12 to >=0.15.21 #267

build(deps-dev): update ruff requirement from >=0.15.12 to >=0.15.21

build(deps-dev): update ruff requirement from >=0.15.12 to >=0.15.21 #267

Workflow file for this run

name: Lint
on:
push:
branches:
- '**'
tags:
- 'v[0-9]*.[0-9]*.[0-9]*'
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
id: setup-python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.10.6"
checksum: "aaa402e19d14a6b9a4267fcf4ec35380f804c68923525cea67cd6ee05bb4e930"
enable-cache: true
cache-dependency-glob: |
pyproject.toml
uv.lock
- name: Cache virtual environment
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: .venv
key: ${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('uv.lock') }}
restore-keys: |
${{ runner.os }}-venv-${{ steps.setup-python.outputs.python-version }}-
- name: Install dependencies
run: uv sync --frozen --group dev
- name: Ruff check
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
- name: Ty
run: uv run ty check