Bump Novusvetus/action-phpinsights from 1.1.15 to 1.1.16 #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: phpinsights | |
'on': | |
push: | |
paths: | |
- '**.php' | |
- .github/workflows/phpinsights.yml | |
pull_request: | |
paths: | |
- '**.php' | |
- .github/workflows/phpinsights.yml | |
jobs: | |
phpinsights: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- | |
name: 'Install PHP Insights' | |
run: "curl -OL https://getcomposer.org/download/latest-2.x/composer.phar\nphp composer.phar global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true\nphp composer.phar global require nunomaduro/phpinsights\nphp composer.phar clearcache -q\nphp ~/.composer/vendor/bin/phpinsights --version\n" | |
- | |
uses: Novusvetus/[email protected] | |
with: | |
files: '**.php' | |
scan_all: true | |
phpinsights_path: 'php ~/.composer/vendor/bin/phpinsights' | |
min_quality: 90 | |
min_complexity: 90 | |
min_architecture: 90 | |
min_style: 90 |