From 3b666e85edbc97a5fda196cedafbf919d4edd93c Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Thu, 9 May 2024 17:00:13 +0530 Subject: [PATCH] Workflow file update for codecov version --- .github/workflows/php-test-workflow.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php-test-workflow.yml b/.github/workflows/php-test-workflow.yml index 36e815d0..fcb54af0 100644 --- a/.github/workflows/php-test-workflow.yml +++ b/.github/workflows/php-test-workflow.yml @@ -21,7 +21,7 @@ jobs: dependencies-preference: "--prefer-lowest" fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup PHP @@ -36,7 +36,7 @@ jobs: - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('./composer.json') }} @@ -64,8 +64,9 @@ jobs: run: composer metrics - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true files: ./coverage.xml flags: unittests