diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml index 2b35e7c831..97d9fd2ef2 100644 --- a/.github/workflows/contrib.yml +++ b/.github/workflows/contrib.yml @@ -71,9 +71,10 @@ jobs: - name: Run tests run: tools/ci/check.sh if: ${{ matrix.check != 'skiptests' }} - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: file: coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} if: ${{ always() }} - name: Upload pytest test results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c769cc9c71..93793281e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -145,9 +145,10 @@ jobs: - name: Run tests run: tools/ci/check.sh if: ${{ matrix.check != 'skiptests' }} - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: file: coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} if: ${{ always() }} - name: Upload pytest test results uses: actions/upload-artifact@v3