Skip to content

Commit

Permalink
Workflow file update for codecov version (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
kedarkhaire authored May 15, 2024
1 parent 13761ed commit 9c5d2fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/php-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9c5d2fd

Please sign in to comment.