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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install pdm
|
python -m pip install pdm
|
||||||
pdm install
|
pdm config use_venv false
|
||||||
|
pdm install --no-lock
|
||||||
source .venv/bin/activate
|
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user