File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : ["master"]
66 pull_request :
77 branches : ["master"]
8+ schedule :
9+ - cron : ' 0 0 * * 0'
810
911jobs :
1012 php-lint :
1113 runs-on : ubuntu-latest
1214
1315 strategy :
16+ fail-fast : false
1417 matrix :
1518 php-version : ['8.2', '8.3', '8.4']
1619
3437 run : composer install --no-interaction --prefer-dist
3538
3639 - name : Run PHPCS
40+ continue-on-error : true
3741 working-directory : pluginpass-pro-plugintheme-licensing
38- run : vendor/bin/phpcs --standard=WordPress --extensions=php inc/
42+ run : vendor/bin/phpcs --standard=WordPress --extensions=php --report=full --report-file=./phpcs-report.txt inc/
3943
4044 - name : Run PHPStan
45+ continue-on-error : true
4146 working-directory : pluginpass-pro-plugintheme-licensing
42- run : vendor/bin/phpstan analyse inc --memory-limit=1G
47+ run : vendor/bin/phpstan analyse --error-format=raw --no-progress inc --memory-limit=1G > ./phpstan-report.txt || true
48+
49+ - name : Upload analysis reports
50+ if : always()
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : analysis-reports-${{ matrix.php-version }}
54+ path : |
55+ pluginpass-pro-plugintheme-licensing/phpcs-report.txt
56+ pluginpass-pro-plugintheme-licensing/phpstan-report.txt
You can’t perform that action at this time.
0 commit comments