Skip to content

Commit cef6571

Browse files
committed
Update tests.yml
1 parent 84065af commit cef6571

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ jobs:
5252
uses: actions/cache@v4
5353
id: vendor-cache
5454
with:
55-
path: vendor
55+
path: |
56+
vendor
57+
.phpcs-cache
58+
.phpunit.result.cache
59+
.rector.cache
60+
.phpstan.cache
5661
key: ${{ runner.os }}-build-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
5762

5863
- name: Update Dependencies with latest stable
@@ -62,7 +67,7 @@ jobs:
6267
run: composer validate --strict
6368

6469
- name: Code style test
65-
run: ./vendor/bin/phpcs
70+
run: vendor/bin/phpcs
6671

6772
- name: PHPStan code analysis
6873
run: php vendor/bin/phpstan analyze
@@ -71,7 +76,7 @@ jobs:
7176
run: vendor/bin/rector --dry-run
7277

7378
- name: Run tests
74-
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=junit.xml
79+
run: vendor/bin/phpunit --coverage-clover=coverage.xml --log-junit=junit.xml
7580

7681
- name: Upload test results to Codecov
7782
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)