From d6df0fc03d85aec22ea751350582f2a2c792fae4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 02:57:49 +0000 Subject: [PATCH 1/2] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/czicompress_cmake.yml | 2 +- .github/workflows/czishrink_dotnet.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/czicompress_cmake.yml b/.github/workflows/czicompress_cmake.yml index ad40c91..27d95e7 100644 --- a/.github/workflows/czicompress_cmake.yml +++ b/.github/workflows/czicompress_cmake.yml @@ -87,7 +87,7 @@ jobs: run: OpenCppCoverage.exe --export_type cobertura:${{github.workspace}}\TestResults\coverage.xml --sources "${{github.workspace}}\czicompress" --excluded_sources "${{github.workspace}}\czicompress\tests" --modules czicompress -- czicompress_tests.exe - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: ${{ (matrix.config.os == 'windows-latest') && (matrix.build == 'Debug') }} with: files: coverage.xml diff --git a/.github/workflows/czishrink_dotnet.yml b/.github/workflows/czishrink_dotnet.yml index e7944f8..4dcf87a 100644 --- a/.github/workflows/czishrink_dotnet.yml +++ b/.github/workflows/czishrink_dotnet.yml @@ -101,7 +101,7 @@ jobs: - name: Upload coverage reports for czishrink to Codecov if: ${{ (matrix.config.os == 'ubuntu-latest') && (matrix.build == 'Debug') }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true directory: ${{ github.workspace }}/TestResults From 2436cccf465afdc82a582b495effd8e7e4d7f0c1 Mon Sep 17 00:00:00 2001 From: "Ringler, Moritz" Date: Thu, 8 Feb 2024 11:35:08 +0100 Subject: [PATCH 2/2] Pass token when uploading coverage reports to codecov --- .github/workflows/czicompress_cmake.yml | 1 + .github/workflows/czishrink_dotnet.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/czicompress_cmake.yml b/.github/workflows/czicompress_cmake.yml index 27d95e7..bd27554 100644 --- a/.github/workflows/czicompress_cmake.yml +++ b/.github/workflows/czicompress_cmake.yml @@ -94,6 +94,7 @@ jobs: fail_ci_if_error: true directory: ${{ github.workspace }}/TestResults verbose: true + token: ${{ secrets.CODECOV_TOKEN }} # required - name: Prepare licenses if: matrix.build == 'Release' diff --git a/.github/workflows/czishrink_dotnet.yml b/.github/workflows/czishrink_dotnet.yml index 4dcf87a..d50ed13 100644 --- a/.github/workflows/czishrink_dotnet.yml +++ b/.github/workflows/czishrink_dotnet.yml @@ -107,6 +107,7 @@ jobs: directory: ${{ github.workspace }}/TestResults files: coverage.cobertura.xml verbose: true + token: ${{ secrets.CODECOV_TOKEN }} # required - name: Upload dotnet test results uses: actions/upload-artifact@v4