From 49b4b582402c37010bc0b342e665795a37ad4b28 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Sat, 11 May 2024 16:18:13 +0200 Subject: [PATCH] Update GitHub actions --- .github/workflows/acceptance_tests.yml | 4 ++-- .github/workflows/linting.yml | 4 ++-- .github/workflows/unit_tests.yml | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/acceptance_tests.yml b/.github/workflows/acceptance_tests.yml index add72fa..309cd4f 100644 --- a/.github/workflows/acceptance_tests.yml +++ b/.github/workflows/acceptance_tests.yml @@ -34,14 +34,14 @@ jobs: - if: matrix.os == 'windows-latest' run: git config --global core.autocrlf input - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - if: matrix.os == 'windows-latest' name: Install Cygwin uses: cygwin/cygwin-install-action@v4 with: packages: curl,unzip - name: Install Python ${{ matrix.python_version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: Install Tox diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 500b99d..2ec29f3 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 1f61cde..05477c6 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -22,9 +22,9 @@ jobs: - '3.12' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python ${{ matrix.python_version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: Install Tox @@ -38,7 +38,8 @@ jobs: run: tox -e py${{ matrix.python_version }} - if: matrix.python_version == '3.12' name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: coverage/shellspec/cobertura.xml,coverage/pytest/cobertura.xml fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}