From c0ca959e15a206b452cbd23a2bf156c2fe543033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Mon, 11 Mar 2024 16:02:47 +0100 Subject: [PATCH] Update GitHub actions to their latest versions --- .github/workflows/tests.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b769ac0..b790e06 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.8 - name: Install packages @@ -31,7 +31,7 @@ jobs: - '3.8' steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install OS Packages @@ -51,13 +51,13 @@ jobs: coverage run -m unittest discover -v coverage xml - name: Upload coverage report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 package-source: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.8 - name: Build source package @@ -65,9 +65,9 @@ jobs: pip install -U build python -m build --sdist - name: Upload source package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dist + name: dist-source path: dist/ package-wheel: @@ -92,12 +92,12 @@ jobs: arch: x86 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.8 - name: Add msbuild to PATH if: matrix.os == 'windows-latest' - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@v2 - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v3 @@ -117,9 +117,9 @@ jobs: pip install cibuildwheel cibuildwheel --output-dir dist - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dist + name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }} path: dist/ publish: @@ -127,9 +127,9 @@ jobs: needs: [lint, test, package-source, package-wheel] steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: dist + merge-multiple: true path: dist/ - name: Publish to PyPI if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')