更新 pre-commit 工作流,优化依赖安装步骤并禁用虚拟环境使用

This commit is contained in:
远野千束(神羽) 2024-12-13 02:55:30 +08:00
parent 372085c2bd
commit c653dbf124

View File

@ -18,9 +18,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install pdm
pdm install
source .venv/bin/activate
pdm config use_venv false
pdm install --no-lock
pre-commit install
- name: Run pre-commit