Skip to content

Commit 91d0c4f

Browse files
committed
Fix build, uses dev tools from shivammathur/setup-php
1 parent 5d820f4 commit 91d0c4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
php-version: '8.0'
2727
extensions: dom
2828
coverage: xdebug
29-
tools: composer:v2, cs2pr
29+
tools: composer:v2, phpcs, php-cs-fixer, phpstan, cs2pr
3030
env:
3131
fail-fast: true
3232

@@ -45,16 +45,16 @@ jobs:
4545
run: composer upgrade --no-interaction --no-progress --prefer-dist
4646

4747
- name: Code style (phpcs)
48-
run: vendor/bin/phpcs -q --report=checkstyle | cs2pr
48+
run: phpcs -q --report=checkstyle | cs2pr
4949

5050
- name: Code style (php-cs-fixer)
51-
run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
51+
run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
5252

5353
- name: Tests (phpunit with code coverage)
5454
run: vendor/bin/phpunit --testdox --verbose --coverage-clover=build/coverage-clover.xml
5555

5656
- name: Code analysis (phpstan)
57-
run: vendor/bin/phpstan analyse --no-progress --verbose
57+
run: phpstan analyse --no-progress --verbose
5858

5959
# see https://github.com/marketplace/actions/action-scrutinizer
6060
- name: Upload code coverage to scrutinizer

0 commit comments

Comments
 (0)