Skip to content

Fix tox + uv caching #104

Fix tox + uv caching

Fix tox + uv caching #104

Workflow file for this run

on:
pull_request:
branches: [main, master]
push:
branches: [main, master]
name: lint
env:
PYTHONUNBUFFERED: "1"
jobs:
lint-ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
prune-cache: false
- name: Setup Python
shell: bash
run: uv venv
- name: Install dependencies
run: uv pip install . ruff
- name: Lint with ruff
run: uv run ruff check --output-format=github .