Skip to content

🔧 Use uv instead of Poetry #53

🔧 Use uv instead of Poetry

🔧 Use uv instead of Poetry #53

Workflow file for this run

name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
env:
UV_PROJECT_ENVIRONMENT: $PYTHONPATH
jobs:
build:
name: python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
- name: Run linter
run: uv run ruff check --ignore ANN001,ANN201
- name: Minimize uv cache
run: uv cache prune --ci