在 pre-commit 工作流中添加虚拟环境激活步骤

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

View File

@ -19,6 +19,8 @@ jobs:
run: |
python -m pip install pdm
pdm install
source .venv/bin/activate
pre-commit install
- name: Run pre-commit