From 1feb8e58f5e945d7915ad78ddcba96d35f9a442b Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Thu, 17 Aug 2023 14:12:42 +0200 Subject: [PATCH] [CI] update action versions --- .github/workflows/test.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42af679..cd44ba4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,25 +11,24 @@ jobs: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions + python -m pip install --upgrade pip tox tox-gh-actions - name: Test with tox run: tox - name: Upload coverage.xml - if: ${{ matrix.python-version == '3.10' }} - uses: actions/upload-artifact@v2 + if: ${{ matrix.python-version == '3.11' }} + uses: actions/upload-artifact@v3 with: name: tox-gh-actions-coverage path: coverage.xml if-no-files-found: error - name: Upload coverage.xml to codecov - if: ${{ matrix.python-version == '3.10' }} - uses: codecov/codecov-action@v1 + if: ${{ matrix.python-version == '3.11' }} + uses: codecov/codecov-action@v3