From: Alexander Popov Date: Wed, 17 Apr 2024 16:58:53 +0000 (+0300) Subject: CI: Move to codecov-action@4 X-Git-Url: https://jxself.org/git/?p=kconfig-hardened-check.git;a=commitdiff_plain;h=f849d880d63691ff05ea54a841146439e5de0941 CI: Move to codecov-action@4 Again, trying to fix the error ``` Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255 ``` https://github.com/codecov/codecov-action/issues/598 --- diff --git a/.github/workflows/engine_unit-test.yml b/.github/workflows/engine_unit-test.yml index 3b49012..e60b09b 100644 --- a/.github/workflows/engine_unit-test.yml +++ b/.github/workflows/engine_unit-test.yml @@ -38,7 +38,9 @@ jobs: coverage xml -i -o coverage_unittest.xml - name: Handle coverage - uses: codecov/codecov-action@v3.1.5 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage_unittest.xml flags: engine_unit-test diff --git a/.github/workflows/functional_test.yml b/.github/workflows/functional_test.yml index c94851e..27f2482 100644 --- a/.github/workflows/functional_test.yml +++ b/.github/workflows/functional_test.yml @@ -61,7 +61,9 @@ jobs: coverage xml -i -o coverage.xml - name: Handle coverage - uses: codecov/codecov-action@v3.1.5 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage.xml flags: functional_test