ci: 优化 Poetry 缓存配置

- 移除了 setup-python 操作中的 cache-dependency-path 设置
- 从 release-drafter.yml 中删除了 poetry.lock 文件的引用
- 在 bot_check 工作流中移除了删除 poetry.lock 的步骤
This commit is contained in:
molanp 2025-08-26 17:17:34 +08:00
parent ee586f0ef8
commit 5096e6000f
3 changed files with 0 additions and 5 deletions

View File

@ -26,9 +26,6 @@ runs:
with:
python-version: ${{ inputs.python-version }}
cache: "poetry"
cache-dependency-path: |
./poetry.lock
${{ inputs.env-dir }}/poetry.lock
- run: |
cd ${{ inputs.env-dir }}

View File

@ -28,7 +28,6 @@ autolabeler:
files:
- "pyproject.toml"
- "requirements.txt"
- "poetry.lock"
title:
- "/:wrench:.+/"
- "/🔧.+/"

View File

@ -56,7 +56,6 @@ jobs:
- name: Install dependencies
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: |
rm -rf poetry.lock
poetry source remove aliyun
poetry install --no-root