mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
✨ 更新 pre-commit 工作流,使用虚拟环境中的 Python 运行 pre-commit 安装和执行
This commit is contained in:
parent
d543e57238
commit
9e6cf7ecd7
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install pdm
|
||||
pdm install --no-lock
|
||||
pre-commit install
|
||||
.venv/bin/python -m pre-commit install
|
||||
|
||||
- name: Run pre-commit
|
||||
run: pre-commit run --all-files
|
||||
run: .venv/bin/python -m pre-commit run --all-files
|
||||
|
Loading…
x
Reference in New Issue
Block a user