From a5eb3099f5c5710fdf48c37d89b882ed24a9ca25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20Tvrtkovi=C4=87?= Date: Mon, 11 Nov 2024 22:33:56 +0100 Subject: [PATCH] Update CI actions --- .github/workflows/main.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f788f81..acda1d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,9 +19,9 @@ jobs: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"] steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@v4" - - uses: "actions/setup-python@v4" + - uses: "actions/setup-python@v5" with: python-version: "${{ matrix.python-version }}" allow-prereleases: true @@ -37,11 +37,12 @@ jobs: run: "python -m tox" - name: "Upload coverage data" - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: - name: "coverage-data" + name: coverage-data-${{ matrix.python-version }} path: ".coverage.*" if-no-files-found: "ignore" + include-hidden-files: true if: runner.os == 'Linux' coverage: @@ -50,18 +51,19 @@ jobs: runs-on: "ubuntu-latest" steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@v4" - - uses: "actions/setup-python@v4" + - uses: "actions/setup-python@v5" with: cache: "pip" - python-version: "3.11" + python-version: "3.13" - run: "python -Im pip install --upgrade coverage[toml]" - - uses: "actions/download-artifact@v3" + - uses: "actions/download-artifact@v4" with: - name: "coverage-data" + pattern: "coverage-data-*" + merge-multiple: true - name: "Combine coverage" run: |