From 2100742ddaf4c0b5c7bca77a9989a41946fd13c9 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 15 Jun 2024 02:50:15 +0200 Subject: [PATCH] CI: add Codecov token --- .github/workflows/CI.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7265362..06fb666 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,7 +46,9 @@ jobs: only-needed: true - name: "Generate source coverage reports by running gcov" run: find . -type f -name '*.gcno' -exec gcov -pb {} + - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} # The Cygwin job test-cygwin: @@ -72,7 +74,9 @@ jobs: - name: "Generate source coverage reports by running gcov" run: find . -type f -name '*.gcno' -exec gcov -pb {} + shell: bash - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: "Setup tmate session" uses: mxschmitt/action-tmate@v3 if: ${{ failure() }}