Skip to content

Commit 38b4edd

Browse files
committed
Improve tests
1 parent d521db3 commit 38b4edd

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,20 @@ jobs:
2828
- name: Validate composer.json
2929
run: composer validate
3030

31-
# - name: Cache Composer packages
32-
# id: composer-cache
33-
# uses: actions/cache@v2
34-
# with:
35-
# path: vendor
36-
# key: ${{ runner.os }}-php-${{ hashFiles('**/composer.json') }}
37-
# restore-keys: |
38-
# ${{ runner.os }}-php-
31+
- uses: "shivammathur/setup-php@v2"
32+
with:
33+
php-version: ${{ matrix.php-version }}
3934

4035
- name: Install dependencies
4136
uses: "ramsey/composer-install@v3"
4237
with:
4338
dependency-versions: ${{ matrix.dependency-versions }}
4439

4540
- name: PHPUnit tests
46-
uses: php-actions/phpunit@v2
41+
uses: php-actions/phpunit@v4
4742
with:
4843
configuration: phpunit.xml
4944
php_version: ${{ matrix.php-version }}
50-
version: 9
5145

5246
- name: Run PHPStan
5347
run: vendor/bin/phpstan

0 commit comments

Comments
 (0)