From 2e3bfc00b5a149076e8479b10b6deff2154b1217 Mon Sep 17 00:00:00 2001 From: Georges Toth Date: Sun, 3 Nov 2024 18:46:52 +0100 Subject: [PATCH] update actions --- .github/workflows/pypi_publish.yml | 4 ++-- .github/workflows/test_lint.yml | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 1d9dce9..6d5affe 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -9,9 +9,9 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies diff --git a/.github/workflows/test_lint.yml b/.github/workflows/test_lint.yml index 9da0567..c81231d 100644 --- a/.github/workflows/test_lint.yml +++ b/.github/workflows/test_lint.yml @@ -14,12 +14,12 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -39,7 +39,7 @@ jobs: python3 -m coverage run --omit tests --parallel-mode -m pytest -vv tests - name: Upload coverage data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-data path: .coverage.* @@ -52,14 +52,14 @@ jobs: needs: tests steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{env.PYTHON_LATEST}} - run: python -m pip install --upgrade coverage[toml] - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v4 with: name: coverage-data @@ -68,7 +68,7 @@ jobs: python -m coverage combine python -m coverage xml - name: Upload Coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true files: ./coverage.xml @@ -77,8 +77,8 @@ jobs: lint_python: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{env.PYTHON_LATEST}}