Skip to content

Dev deps

Dev deps #5

Workflow file for this run

name: pre-commit
on:
push:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: '0.5.5'
enable-cache: true
cache-dependency-glob: "uv.lock"
- uses: actions/setup-python@v5
with:
python-version-file: 'pyproject.toml'
- name: Run pre-commit
run: uv run --dev pre-commit run --all-files
- name: Fail on diff after pre-commit is run
run: git diff --exit-code