From 36c1777b17dd771583b49d759c457fea1fcc1591 Mon Sep 17 00:00:00 2001 From: Hannu Parviainen Date: Tue, 6 Aug 2024 16:23:43 +0100 Subject: [PATCH] Update GitHub Actions to latest versions Upgraded actions/checkout to v4, setup-python to v5, and codecov-action to v4 in the python-package workflow. These updates ensure better compatibility and performance with newer GitHub Actions APIs. --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8351f62..52eebc0 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,9 +19,9 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12"] 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 }} - name: Install dependencies @@ -42,6 +42,6 @@ jobs: run: | pytest --cov tests - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}