./renovate-config/default.jsonc
Install dependencies for ppmcheckpdf
LaTeX package or the ppmcheckpdf.lua in
muzimuzhi/latex-zutil repository.
muzimuzhi/latex-util@5dcc828 (ci(lint): install pre-commit using mise, 2026-09-15) replaced its only use with mise.
old doc
Install pre-commit using uv, init it and setup caching
All inputs are optional.
# default values of all inputs
- name: Setup pre-commit
uses: muzimuzhi/reusable/actions/setup-pre-commit-uv@main
with:
setup-uv: true
version: 'latest'
config: '.pre-commit-config.yaml'
run-pre-commit: true
args: '--all-files --show-diff-on-failure --color=always'uv cache is disabled by default (why). If needed,
setup uv beforehand, then use this action with setup-uv: false.
- name: Setup uv
# since v8.0.0, astral-sh/setup-uv stopped providing major and minor tags
uses: astral-sh/setup-uv@v8.2.0
with:
enable-cache: true # enabled on GitHub-hosted runners by default
- name: Setup pre-commit
uses: muzimuzhi/reusable/actions/setup-pre-commit-uv@main
with:
setup-uv: falseGenerate a unique_id output (in snake case) for use in e.g., archives. Also exported to environment variable by default.