Skip to content

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1… #397

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1…

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1… #397

Workflow file for this run

name: pre-commit check
on:
push:
pull_request:
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.cache/prek
key: ${{ runner.os }}-prek-${{ hashFiles('.pre-commit-config.yaml', 'requirements*.txt') }}
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.x
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
- run: uvx prek run --all-files
env:
RUFF_OUTPUT_FORMAT: github