From 9c5d2fdad7e903906ba9cac3bb85018da970c7f8 Mon Sep 17 00:00:00 2001 From: Kedar Khaire Date: Wed, 15 May 2024 13:01:36 +0530 Subject: [PATCH] Workflow file update for codecov version (#360) --- .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