Skip to content

Commit 5a4a6b8

Browse files
committed
build: fixing github action
1 parent 098ca63 commit 5a4a6b8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
php: ['8.1', '8.2', '8.3', '8.4']
25-
25+
2626
name: PHP ${{ matrix.php }} Test
2727

2828
steps:
@@ -46,7 +46,7 @@ jobs:
4646
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
4747

4848
- name: Cache Composer dependencies
49-
uses: actions/cache@v2
49+
uses: actions/cache@v4
5050
with:
5151
path: ${{ steps.composercache.outputs.dir }}
5252
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
@@ -62,4 +62,10 @@ jobs:
6262
run: ./vendor/bin/phpstan
6363

6464
- name: Run codecov
65-
uses: codecov/codecov-action@v1
65+
uses: codecov/codecov-action@v3
66+
67+
- name: Upload test results to Codecov
68+
if: ${{ !cancelled() }}
69+
uses: codecov/test-results-action@v1
70+
with:
71+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)