File tree Expand file tree Collapse file tree 3 files changed +50
-23
lines changed
Expand file tree Collapse file tree 3 files changed +50
-23
lines changed Original file line number Diff line number Diff line change 1+ name : Fix PHP code style issues
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **.php'
7+
8+ jobs :
9+ php-code-styling :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v3
15+ with :
16+ ref : ${{ github.head_ref }}
17+
18+ - name : Fix PHP code style issues
19+ uses : aglipanci/laravel-pint-action@1.0.0
20+
21+ - name : Commit changes
22+ uses : stefanzweifel/git-auto-commit-action@v4
23+ with :
24+ commit_message : Fix styling
Original file line number Diff line number Diff line change 1+ name : PHPStan
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **.php'
7+ - ' phpstan.neon.dist'
8+
9+ jobs :
10+ phpstan :
11+ name : phpstan
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+
16+ - name : Setup PHP
17+ uses : shivammathur/setup-php@v2
18+ with :
19+ php-version : ' 8.1'
20+ coverage : none
21+
22+ - name : Install composer dependencies
23+ uses : ramsey/composer-install@v1
24+
25+ - name : Run PHPStan
26+ run : ./vendor/bin/phpstan --error-format=github
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments