From 46290d90943a3fdcd2ade3353faa33ec4bd8fa6b Mon Sep 17 00:00:00 2001 From: Josh M <20140997+jcmrva@users.noreply.github.com> Date: Fri, 15 May 2026 23:49:51 -0600 Subject: [PATCH 1/2] codecov-action v5 and token --- .github/workflows/pr-build-test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-build-test.yml b/.github/workflows/pr-build-test.yml index f68aa1b..f43dc82 100644 --- a/.github/workflows/pr-build-test.yml +++ b/.github/workflows/pr-build-test.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: ${{ matrix.dotnet-version }} @@ -36,10 +36,14 @@ jobs: --collect:"XPlat Code Coverage" \ -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./TestResults/**/coverage.cobertura.xml flags: unittests fail_ci_if_error: false continue-on-error: true + +# https://github.com/actions/setup-dotnet +# https://github.com/codecov/codecov-action From fd6845ddac17d774eaabcb2851c89da798701adb Mon Sep 17 00:00:00 2001 From: Josh M <20140997+jcmrva@users.noreply.github.com> Date: Fri, 15 May 2026 23:52:17 -0600 Subject: [PATCH 2/2] indentation --- .github/workflows/pr-build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-test.yml b/.github/workflows/pr-build-test.yml index f43dc82..0aedac9 100644 --- a/.github/workflows/pr-build-test.yml +++ b/.github/workflows/pr-build-test.yml @@ -36,7 +36,7 @@ jobs: --collect:"XPlat Code Coverage" \ -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura - - name: Upload coverage reports to Codecov + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }}