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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ jobs:
|
|||||||
python -c "import leann_backend_diskann; print('✅ DiskANN backend imported')"
|
python -c "import leann_backend_diskann; print('✅ DiskANN backend imported')"
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: wheels-${{ matrix.os }}-py${{ matrix.python-version }}
|
name: wheels-${{ matrix.os }}-py${{ matrix.python-version }}
|
||||||
path: packages/*/dist/*.whl
|
path: packages/*/dist/*.whl
|
||||||
|
|||||||
4
.github/workflows/release-manual.yml
vendored
4
.github/workflows/release-manual.yml
vendored
@@ -47,9 +47,9 @@ jobs:
|
|||||||
echo "✅ Version is new"
|
echo "✅ Version is new"
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.13'
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user