diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b1787c2..ab81fcb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,12 +12,12 @@ jobs: PYTHONUNBUFFERED: '1' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -42,7 +42,7 @@ jobs: python tests/invalid.py - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -56,12 +56,12 @@ jobs: PYTHONUNBUFFERED: '1' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' - name: Python environment - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' @@ -90,7 +90,7 @@ jobs: python tests/invalid.py - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -98,14 +98,14 @@ jobs: linux: # Skip building pull requests from the same repository if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }} - runs-on: ubuntu-latest - container: quay.io/pypa/manylinux2014_x86_64 + runs-on: ubuntu-24.04 + container: quay.io/pypa/manylinux_2_28_x86_64 env: # Disable output buffering in an attempt to get readable errors PYTHONUNBUFFERED: '1' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: 'true' @@ -116,7 +116,7 @@ jobs: export PATH="$PATH:$HOME/.cargo/bin" export PATH="/opt/python/cp38-cp38/bin:$PATH" pip install -r requirements.txt - python setup.py bdist_wheel --py-limited-api=cp37 --plat-name manylinux2014_x86_64 + python setup.py bdist_wheel --py-limited-api=cp37 --plat-name manylinux_2_28_x86_64 auditwheel show dist/*.whl pip install --force-reinstall dist/*.whl python -c "import icicle" @@ -129,21 +129,21 @@ jobs: python tests/invalid.py - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist release: if: ${{ startsWith(github.ref, 'refs/tags/') }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: [windows, macos, linux] permissions: contents: write discussions: write steps: - name: Download wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wheels path: dist