From 25e1e6c36b64ed2dec17d1689bc8c53e145f0252 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 26 Dec 2025 14:12:06 +0100 Subject: [PATCH] ci: use codecov-action instead of codecov/test-results-action (#5504) * Initial plan * Replace deprecated codecov/test-results-action with codecov-action@v5 Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marten-seemann <1478487+marten-seemann@users.noreply.github.com> --- .github/workflows/integration.yml | 3 ++- .github/workflows/unit.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index e9197564..484bd89c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -74,8 +74,9 @@ jobs: retention-days: 7 - name: Upload report to Codecov if: ${{ !cancelled() && !matrix.race }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 with: + report_type: test_results name: Unit tests files: report_tools.xml,report_versionnegotiation.xml,report_self.xml,report_self_v2.xml,report_self_nogso.xml,report_self_noecn.xml env_vars: OS,GO diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 679ac35b..9ec02c95 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -58,11 +58,12 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} - name: Upload test report to Codecov if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 + uses: codecov/codecov-action@v5 env: OS: ${{ matrix.os }} GO: ${{ matrix.go }} with: + report_type: test_results name: Unit tests files: report.xml,report_root.xml env_vars: OS,GO -- 2.43.0