Skip to content

Update pre-commit.yml #31

Update pre-commit.yml

Update pre-commit.yml #31

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Set up Python
run: uv venv --python 3.12
- name: Install the project
run: uv sync
- name: Install the project
run: uv pip install pre-commit
- name: PreCommit
run: pre-commit run --show-diff-on-failure --color=always --all-files