File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ - push
5+ - pull_request
46
57jobs :
68 phplint :
79 runs-on : ubuntu-latest
810
11+
912 name : PHP Linting (Pint)
1013
14+
1115 steps :
1216 - name : Checkout
1317 uses : actions/checkout@v4
1418
15- - name : " laravel-pint"
19+
20+ - name : laravel-pint
1621 uses : aglipanci/laravel-pint-action@latest
1722 with :
1823 preset : laravel
1924 verboseMode : true
2025 testMode : true
21- configPath : " pint.json"
26+ configPath : pint.json
2227 pintVersion : 1.18.2
2328 onlyDirty : true
2429
2530 test :
2631 runs-on : ubuntu-latest
32+
2733 strategy :
2834 max-parallel : 15
2935 fail-fast : false
3036 matrix :
3137 php : [8.3, 8.2]
32- laravel : [11.*]
38+ laravel : [' 11.*', '12.*' ]
3339 stability : [prefer-lowest, prefer-stable]
3440 include :
3541 - laravel : 11.*
3642 testbench : 9.*
43+ - laravel : 12.*
44+ testbench : 10.*
45+
3746
3847 name : PHP${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
3948
49+
4050 steps :
4151 - name : Checkout
4252 uses : actions/checkout@v4
4353
54+
4455 - name : Setup PHP
4556 uses : shivammathur/setup-php@v2
4657 with :
4758 php-version : ${{ matrix.php }}
4859 extensions : mbstring, xdebug
4960 coverage : xdebug
5061
62+
5163 - name : Install dependencies
5264 run : |
5365 composer require "illuminate/support:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5466 composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
5567
68+
5669 - name : Lint composer.json
5770 run : composer validate
5871
72+
5973 - name : Run Tests
6074 run : composer test:unit
6175
76+
6277 - name : Run Integration Tests
6378 run : composer test:integration
You can’t perform that action at this time.
0 commit comments