From 5096e6000f724adae84bdaa9ffa3c2f3ebffd4cc Mon Sep 17 00:00:00 2001 From: molanp <104612722+molanp@users.noreply.github.com> Date: Tue, 26 Aug 2025 17:17:34 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BC=98=E5=8C=96=20Poetry=20=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 setup-python 操作中的 cache-dependency-path 设置 - 从 release-drafter.yml 中删除了 poetry.lock 文件的引用 - 在 bot_check 工作流中移除了删除 poetry.lock 的步骤 --- .github/actions/setup-python/action.yml | 3 --- .github/release-drafter.yml | 1 - .github/workflows/bot_check.yml | 1 - 3 files changed, 5 deletions(-) diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml index 98f29314..e9a43cb7 100644 --- a/.github/actions/setup-python/action.yml +++ b/.github/actions/setup-python/action.yml @@ -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 }} diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 14adddbb..8e02a6ad 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -28,7 +28,6 @@ autolabeler: files: - "pyproject.toml" - "requirements.txt" - - "poetry.lock" title: - "/:wrench:.+/" - "/🔧.+/" diff --git a/.github/workflows/bot_check.yml b/.github/workflows/bot_check.yml index 3731ded8..f0b9c88c 100644 --- a/.github/workflows/bot_check.yml +++ b/.github/workflows/bot_check.yml @@ -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