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
This commit is contained in:
Andy Lee
2025-07-24 13:36:21 -07:00
parent b3cb251369
commit 1d321953ba
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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: |