diff --git a/.github/workflows/pr-build-test.yml b/.github/workflows/pr-build-test.yml index f68aa1b..0aedac9 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