11#
2- # JBZoo Toolbox - Http-Client
2+ # JBZoo Toolbox - Http-Client.
33#
44# This file is part of the JBZoo Toolbox project.
55# For the full copyright and license information, please view the LICENSE
66# file that was distributed with this source code.
77#
8- # @package Http-Client
98# @license MIT
109# @copyright Copyright (C) JBZoo.com, All rights reserved.
11- # @link https://github.com/JBZoo/Http-Client
10+ # @see https://github.com/JBZoo/Http-Client
1211#
1312
1413name : CI
2120 branches :
2221 - ' master'
2322 schedule :
24- - cron : ' 55 */8 * * *'
23+ - cron : ' 49 */8 * * *'
2524
2625env :
2726 COLUMNS : 120
@@ -35,20 +34,22 @@ jobs:
3534 JBZOO_COMPOSER_UPDATE_FLAGS : ${{ matrix.composer_flags }}
3635 strategy :
3736 matrix :
38- php-version : [ 7.4, 8.0, 8.1 ]
37+ php-version : [ 8.1, 8.2 ]
38+ coverage : [ xdebug, none ]
3939 composer_flags : [ "--prefer-lowest", "" ]
4040 steps :
4141 - name : Checkout code
42- uses : actions/checkout@v2
42+ uses : actions/checkout@v3
4343 with :
4444 fetch-depth : 0
4545
4646 - name : Setup PHP
4747 uses : shivammathur/setup-php@v2
4848 with :
4949 php-version : ${{ matrix.php-version }}
50- coverage : xdebug
50+ coverage : ${{ matrix.coverage }}
5151 tools : composer
52+ extensions : ast
5253
5354 - name : Build the Project
5455 run : make update --no-print-directory
@@ -57,12 +58,14 @@ jobs:
5758 run : make test --no-print-directory
5859
5960 - name : Uploading coverage to coveralls
61+ if : ${{ matrix.coverage == 'xdebug' }}
62+ continue-on-error : true
6063 env :
61- COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64+ COVERALLS_REPO_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6265 run : make report-coveralls --no-print-directory || true
6366
6467 - name : Upload Artifacts
65- uses : actions/upload-artifact@v2
68+ uses : actions/upload-artifact@v3
6669 continue-on-error : true
6770 with :
6871 name : PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }}
@@ -74,17 +77,18 @@ jobs:
7477 runs-on : ubuntu-latest
7578 strategy :
7679 matrix :
77- php-version : [ 7.4, 8.0 , 8.1 ]
80+ php-version : [ 8.1 , 8.2 ]
7881 steps :
7982 - name : Checkout code
80- uses : actions/checkout@v2
83+ uses : actions/checkout@v3
8184 with :
8285 fetch-depth : 0
8386
8487 - name : Setup PHP
8588 uses : shivammathur/setup-php@v2
8689 with :
8790 php-version : ${{ matrix.php-version }}
91+ coverage : none
8892 tools : composer
8993 extensions : ast
9094
9599 run : make codestyle --no-print-directory
96100
97101 - name : Upload Artifacts
98- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
99103 continue-on-error : true
100104 with :
101105 name : Linters - ${{ matrix.php-version }}
@@ -107,10 +111,10 @@ jobs:
107111 runs-on : ubuntu-latest
108112 strategy :
109113 matrix :
110- php-version : [ 7.4, 8.0 , 8.1 ]
114+ php-version : [ 8.1 , 8.2 ]
111115 steps :
112116 - name : Checkout code
113- uses : actions/checkout@v2
117+ uses : actions/checkout@v3
114118 with :
115119 fetch-depth : 0
116120
@@ -120,6 +124,7 @@ jobs:
120124 php-version : ${{ matrix.php-version }}
121125 coverage : xdebug
122126 tools : composer
127+ extensions : ast
123128
124129 - name : Build the Project
125130 run : make update --no-print-directory
@@ -128,7 +133,7 @@ jobs:
128133 run : make report-all --no-print-directory
129134
130135 - name : Upload Artifacts
131- uses : actions/upload-artifact@v2
136+ uses : actions/upload-artifact@v3
132137 continue-on-error : true
133138 with :
134139 name : Reports - ${{ matrix.php-version }}
0 commit comments