这是indexloc提供的服务,不要输入任何密码
Skip to content

build(deps): bump astral-sh/setup-uv from 6 to 7 #691

build(deps): bump astral-sh/setup-uv from 6 to 7

build(deps): bump astral-sh/setup-uv from 6 to 7 #691

Workflow file for this run

name: Formal tests
on:
push:
branches:
- main
pull_request:
env:
PYTHONUNBUFFERED: "1"
PYTEST_ADDOPTS: "--color=yes"
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install the project
run: uv sync --all-extras --dev
- name: Lint with ruff
run: |
uv run ruff check .
- name: Stylecheck with ruff
run: |
uv run ruff format --check .
- name: Run isort
run: |
uv run isort --check .