From b5913e5e3533182aa018b6331af34438c7a1477b Mon Sep 17 00:00:00 2001 From: DevForge Engineer Date: Mon, 18 May 2026 03:15:25 -0400 Subject: [PATCH] fix: correct GitHub Actions versions in CI and publish workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actions/checkout@v6 and actions/setup-python@v6 do not exist in the GitHub Marketplace — the latest stable versions are v4 and v5 respectively. Using nonexistent tags causes all workflow runs to fail immediately with resolution errors. Fixed both ci.yml and publish.yml to use the correct stable versions. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65508a6..0bf0278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,10 @@ jobs: python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b2d572b..a4f94ad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,10 +21,10 @@ jobs: id-token: write steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v6 + uses: actions/setup-python@v5 with: python-version: "3.11"