Skip to content
muzimuzhiPublic

About

Reusable pieces

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Reusable

Shareable Renovate config

./renovate-config/default.jsonc

GitHub Actions

ppmcheckpdf-deps

Install dependencies for ppmcheckpdf LaTeX package or the ppmcheckpdf.lua in muzimuzhi/latex-zutil repository.

setup-pre-commit-uv (deprecated on 2026-09-15)

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: false

unique-id

Generate a unique_id output (in snake case) for use in e.g., archives. Also exported to environment variable by default.

About

Reusable pieces

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors