Skip to content

chore(deps): autoupdate pre-commit hooks #2362

chore(deps): autoupdate pre-commit hooks

chore(deps): autoupdate pre-commit hooks #2362

name: Pre-commit Checks
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
pre_commit:
runs-on: ubuntu-latest
env:
# Disable implicitly syncing before running - we run an explicit sync first.
UV_NO_SYNC: true
steps:
- uses: actions/checkout@v6
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
version: "latest"
python-version: 3.13
enable-cache: true
cache-suffix: "pre-commit"
- name: Install development dependencies
run: uv sync --dev --locked
- name: Debug - uv pip freeze
run: uv pip freeze
- name: Remove fail_fast from Pre-commit config
run: sed -e "/fail_fast/d" .pre-commit-config.yaml > /tmp/.pre-commit-config-ci.yaml
- name: Run Pre-commit checks
run: SKIP=no-commit-to-branch uv run pre-commit run --all-files --show-diff-on-failure --config /tmp/.pre-commit-config-ci.yaml