mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
✨ 更新 pre-commit 工作流,优化依赖安装步骤并禁用虚拟环境使用
This commit is contained in:
parent
372085c2bd
commit
c653dbf124
5
.github/workflows/pre-commit.yml
vendored
5
.github/workflows/pre-commit.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user