From b99480092c11074bba89fc141b5deb4bbfbc1fbb Mon Sep 17 00:00:00 2001 From: Tamas Nepusz Date: Wed, 31 Jan 2024 21:12:19 +0100 Subject: [PATCH] ci: trying alternative syntax to provide Codecov token --- .github/workflows/pytest.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 67499d6..23097a9 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -9,11 +9,11 @@ jobs: matrix: python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python id: setup-python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -26,7 +26,7 @@ jobs: - name: Load cached virtualenv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} @@ -44,8 +44,7 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v4 with: - file: ./coverage.xml + files: ./coverage.xml fail_ci_if_error: true - env: token: ${{ secrets.CODECOV_TOKEN }}