Skip to content

Commit c0c423c

Browse files
committed
report PHP problems as annotations
1 parent f6007c3 commit c0c423c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
with:
2525
php-version: '${{ env.CONSISTENCE_PHP_VERSION }}'
2626
coverage: 'none'
27+
-
28+
name: 'Setup problem matchers for PHP'
29+
run: 'echo "::add-matcher::${{ runner.tool_cache }}/php.json"'
2730
-
2831
name: 'Composer install'
2932
uses: 'ramsey/composer-install@v1'
@@ -55,6 +58,9 @@ jobs:
5558
with:
5659
php-version: '${{ matrix.php-version }}'
5760
coverage: 'none'
61+
-
62+
name: 'Setup problem matchers for PHP'
63+
run: 'echo "::add-matcher::${{ runner.tool_cache }}/php.json"'
5864
-
5965
name: 'Composer install'
6066
uses: 'ramsey/composer-install@v1'
@@ -80,6 +86,9 @@ jobs:
8086
php-version: '${{ env.CONSISTENCE_PHP_VERSION }}'
8187
coverage: 'none'
8288
tools: 'cs2pr'
89+
-
90+
name: 'Setup problem matchers for PHP'
91+
run: 'echo "::add-matcher::${{ runner.tool_cache }}/php.json"'
8392
-
8493
name: 'Composer install'
8594
uses: 'ramsey/composer-install@v1'
@@ -114,6 +123,9 @@ jobs:
114123
with:
115124
php-version: '${{ matrix.php-version }}'
116125
coverage: 'xdebug'
126+
-
127+
name: 'Setup problem matchers for PHP'
128+
run: 'echo "::add-matcher::${{ runner.tool_cache }}/php.json"'
117129
-
118130
name: 'Setup problem matchers for PHPUnit'
119131
run: 'echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"'

0 commit comments

Comments
 (0)