From 1d321953bad6926d3c98d62b0dd8ef4375656309 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Thu, 24 Jul 2025 13:36:21 -0700 Subject: [PATCH] ci: update all GitHub Actions to latest versions - Update actions/upload-artifact from v3 to v4 (v3 deprecated April 2024) - Update actions/setup-python from v4 to v5 (latest version) - Add Python 3.12 and 3.13 to CI test matrix - Ensure compatibility with latest Python versions and GitHub Actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release-manual.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52b7ae1..a5436ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: submodules: recursive - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -88,7 +88,7 @@ jobs: python -c "import leann_backend_diskann; print('✅ DiskANN backend imported')" - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels-${{ matrix.os }}-py${{ matrix.python-version }} path: packages/*/dist/*.whl diff --git a/.github/workflows/release-manual.yml b/.github/workflows/release-manual.yml index 96139eb..3cb22a3 100644 --- a/.github/workflows/release-manual.yml +++ b/.github/workflows/release-manual.yml @@ -47,9 +47,9 @@ jobs: echo "✅ Version is new" - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' - name: Install uv run: |