Skip to content

uv updates

uv updates #416

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 3 1 * *"
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ${{ matrix.image }}
strategy:
matrix:
os:
- Ubuntu
python-version:
- "3.12"
- "3.13"
include:
- os: Ubuntu
image: Ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up python {{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install project
run: uv sync -p ${{ matrix.python-version }} --extra azure
- name: ruff
run: uv run ruff check .
- name: ruff format
run: uv run ruff format --check .
- name: mypy
run: uv run mypy .