From cc3593a937b2fc4836e550d060feafccfac1f9b4 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Fri, 11 Oct 2024 19:12:47 +0200 Subject: [PATCH 1/2] Update GitHub Actions versions --- .github/workflows/black.yml | 2 +- .github/workflows/pypi-ci.yml | 8 ++++---- .github/workflows/tests.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 41be665b..836748c8 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: black uses: psf/black@stable with: diff --git a/.github/workflows/pypi-ci.yml b/.github/workflows/pypi-ci.yml index f32ee0b4..d07c01ab 100644 --- a/.github/workflows/pypi-ci.yml +++ b/.github/workflows/pypi-ci.yml @@ -25,7 +25,7 @@ jobs: - run: git fetch --prune --unshallow - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -36,7 +36,7 @@ jobs: run: python -m build --sdist --wheel --outdir dist/ . - name: Archive artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dist path: dist @@ -48,7 +48,7 @@ jobs: if: github.ref == 'refs/heads/main' steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: dist path: dist @@ -66,7 +66,7 @@ jobs: if: startsWith(github.ref, 'refs/tags') steps: - name: Download artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: dist path: dist diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 799ea967..d00c2254 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,9 +16,9 @@ jobs: python-version: [3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 322738f6ff25f1becdfc28af68899ec582d27c00 Mon Sep 17 00:00:00 2001 From: Filippo Luca Ferretti Date: Fri, 11 Oct 2024 19:13:18 +0200 Subject: [PATCH 2/2] Update runners OS to Ubuntu 22.04 --- .github/workflows/pypi-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-ci.yml b/.github/workflows/pypi-ci.yml index d07c01ab..5b5b694d 100644 --- a/.github/workflows/pypi-ci.yml +++ b/.github/workflows/pypi-ci.yml @@ -18,7 +18,7 @@ jobs: python-version: - 3.8 os: - - ubuntu-20.04 + - ubuntu-22.04 steps: - uses: actions/checkout@master @@ -43,7 +43,7 @@ jobs: deploy_test_PyPI: name: 📦 Deploy to TestPyPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [build_wheels] if: github.ref == 'refs/heads/main' steps: @@ -61,7 +61,7 @@ jobs: deploy_PyPI: name: 📦 Deploy to PyPI - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: [build_wheels] if: startsWith(github.ref, 'refs/tags') steps: