更新 pre-commit 工作流,添加 pre-commit 依赖安装步骤

This commit is contained in:
远野千束(神羽) 2024-12-13 03:02:17 +08:00
parent 20eeb5724f
commit 75d2ef2401

View File

@ -18,6 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install pdm
python -m pip install pre-commit
pdm config python.use_venv false
pdm install --no-lock
pre-commit install