File tree Expand file tree Collapse file tree 3 files changed +31
-17
lines changed Expand file tree Collapse file tree 3 files changed +31
-17
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: "Continuous Integration"
22
33on :
44  push :
5+     branches :
6+       - master 
7+       - 11.x 
58  pull_request :
69  schedule :
710    - cron : ' 0 0 * * *' 
@@ -14,14 +17,14 @@ jobs:
1417    strategy :
1518      fail-fast : true 
1619      matrix :
17-         php : [8.2, 8.3] 
20+         php : [8.2, 8.3, 8.4 ] 
1821        stability : [prefer-stable] 
1922
2023    name : PHP ${{ matrix.php }} - ${{ matrix.stability }} 
2124
2225    steps :
2326      - name : Checkout code 
24-         uses : actions/checkout@v2  
27+         uses : actions/checkout@v4  
2528
2629      - name : Setup PHP 
2730        uses : shivammathur/setup-php@v2 
3942        with :
4043          timeout_minutes : 5 
4144          max_attempts : 5 
42-           command : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress 
45+           command : COMPOSER_ROOT_VERSION=dev-master  composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
4346
4447      - name : Execute tests 
4548        run : vendor/bin/phpunit 
Original file line number Diff line number Diff line change 77jobs :
88  phplint :
99    runs-on : ubuntu-latest 
10+ 
11+     permissions :
12+       contents : write 
13+       pull-requests : write 
14+ 
1015    steps :
1116      - uses : actions/checkout@v4 
17+         with :
18+           ref : ${{ github.head_ref }} 
19+ 
1220      - name : " laravel-pint" 
13-         uses : aglipanci/laravel-pint-action@2.0.0  
21+         uses : aglipanci/laravel-pint-action@latest  
1422        with :
1523          preset : laravel 
1624          verboseMode : true 
25+ 
1726      - uses : stefanzweifel/git-auto-commit-action@v5 
1827        with :
1928          commit_message : " fix: pint" 
20- 
Original file line number Diff line number Diff line change 2222
2323jobs :
2424  static-analysis-phpstan :
25+ 
2526    name : " Static Analysis with PHPStan" 
2627    runs-on : ubuntu-latest 
2728
2829    strategy :
30+       fail-fast : true 
2931      matrix :
30-         php : [8.2, 8.3] 
32+         php : [8.2, 8.3, 8.4] 
33+         stability : [prefer-stable] 
3134
3235    steps :
33-       - name : " Checkout code" 
34-         uses : " actions/checkout@v4" 
36+       - name : Checkout code 
37+         uses : actions/checkout@v4 
3538
36-       - name : " Install  PHP" 
37-         uses : " shivammathur/setup-php@v2" 
39+       - name : Setup  PHP
40+         uses : shivammathur/setup-php@v2 
3841        with :
39-           coverage :  " none " 
40-           php-version :  " ${{ matrix.php-version }} " 
41-           tools :  " cs2pr " 
42+           php-version :  ${{ matrix.php }} 
43+           tools :  composer:v2 
44+           coverage :  none 
4245
4346      - name : Install dependencies 
44-         uses : nick-fields /retry@v2  
47+         uses : nick-invision /retry@v1  
4548        with :
4649          timeout_minutes : 5 
4750          max_attempts : 5 
48-           command : composer update --prefer-stable  --prefer-dist --no-interaction --no-progress 
51+           command : COMPOSER_ROOT_VERSION=dev-master  composer update --${{ matrix.stability }}  --prefer-dist --no-interaction --no-progress
4952
50-       - name : Execute type checking 
51-         run : vendor/bin/phpstan --configuration="phpstan.neon.dist " 
53+       - name : " Run a static analysis with phpstan/phpstan " 
54+         run : " vendor/bin/phpstan --error-format=table " 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments