Skip to content

Commit 9ddd08c

Browse files
committed
fixing ci workflow
1 parent d6d79a1 commit 9ddd08c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ jobs:
1010
php: [7.4]
1111
steps:
1212
- uses: actions/checkout@v1
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: ${{ matrix.php }}
1317
- name: Install dependencies
1418
run: composer install --no-interaction --no-progress
1519
- name: Run tests
16-
run: php${{ matrix.php }} vendor/bin/phpunit --verbose --fail-on-warning --coverage-text
20+
run: vendor/bin/phpunit --verbose --fail-on-warning --coverage-text
1721
- name: Run phpstan
18-
run: php${{ matrix.php }} vendor/bin/phpstan analyse
22+
run: vendor/bin/phpstan analyse

0 commit comments

Comments
 (0)