File tree Expand file tree Collapse file tree 1 file changed +17
-30
lines changed Expand file tree Collapse file tree 1 file changed +17
-30
lines changed Original file line number Diff line number Diff line change @@ -2,46 +2,33 @@ name: CI
22
33on :
44 push :
5+ branches : [ "*" ]
56 pull_request :
7+ branches : [ "*" ]
8+ workflow_dispatch :
9+
10+ permissions :
11+ contents : read
612
713concurrency :
814 group : ${{ github.workflow }}-${{ github.ref }}
915 cancel-in-progress : true
1016
1117jobs :
12- coding-standards :
13- name : Coding Standards (PHP 8.4)
14- runs-on : ubuntu-latest
15- steps :
16- - uses : actions/checkout@v4
1718
18- - name : PHP 8.4
19- uses : shivammathur/setup -php@v2
20- with :
21- php-version : ' 8.4'
22- coverage : none
23- tools : composer, phpstan, php-cs-fixer
19+ cs :
20+ uses : playwright -php/.github/.github/workflows/CS.yml@main
21+ # with:
22+ # php-version: '8.4'
23+ # composer-validate: true
24+ # php-cs-fixer-args: '--diff --dry-run'
2425
25- - name : Composer cache
26- uses : actions/cache@v4
27- with :
28- path : ~/.composer/cache
29- key : composer-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
30- restore-keys : composer-${{ runner.os }}-
26+ sa :
27+ uses : playwright-php/.github/.github/workflows/SA.yml@main
28+ # with:
29+ # php-version: '8.4'
30+ # phpstan-args: 'analyse --no-progress --memory-limit=-1'
3131
32- - name : Install deps (no dev-scripts)
33- run : composer install --no-interaction --prefer-dist --no-progress
34-
35- - name : PHPStan (max level)
36- run : phpstan analyse --no-progress
37-
38- - name : PHP-CS-Fixer (dry-run)
39- run : |
40- if [ -f .php-cs-fixer.php ]; then
41- php-cs-fixer fix --diff --dry-run
42- else
43- echo "No .php-cs-fixer.php; skipping."
44- fi
4532
4633 tests :
4734 name : Tests (PHP ${{ matrix.php }} • ${{ matrix.browser }})
You can’t perform that action at this time.
0 commit comments