File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,19 @@ jobs:
3131 tools : composer:v2, pecl
3232 coverage : xdebug
3333
34- - name : ♻️ Load cached dependencies
34+ - name : 🛠️ Setup problem matchers
35+ run : |
36+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
37+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
38+
39+ - name : ♻️ Restore cached dependencies
3540 id : cached-composer-dependencies
3641 uses : actions/cache@v3
3742 with :
3843 path : vendor
39- key : vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
44+ key : vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}
4045
41- - name : ⚙️ Install dependencies
46+ - name : 📥 Install dependencies
4247 if : steps.cached-composer-dependencies.outputs.cache-hit != 'true'
4348 run : composer install
4449
@@ -53,14 +58,14 @@ jobs:
5358 env :
5459 PHP_CS_FIXER_IGNORE_ENV : true
5560
56- - name : 🧪 Execute phpunit tests
61+ - name : 🧪 Execute phpunit and pest tests
5762 env :
5863 XDEBUG_MODE : coverage
5964 DB_CONNECTION : sqlite
6065 DB_DATABASE : " :memory:"
6166 run : vendor/bin/pest --coverage-clover=coverage.xml
6267
63- - name : 📝 Run static analysis using phpstan
68+ - name : 🔍 Run static analysis using phpstan
6469 run : composer stan:ci
6570
6671 - name : 📤 Upload coverage report to Codecov
You can’t perform that action at this time.
0 commit comments