11#
2- # JBZoo Toolbox - SimpleTypes
2+ # JBZoo Toolbox - SimpleTypes.
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 SimpleTypes
98# @license MIT
109# @copyright Copyright (C) JBZoo.com, All rights reserved.
11- # @link https://github.com/JBZoo/SimpleTypes
10+ # @see https://github.com/JBZoo/SimpleTypes
1211#
1312
1413name : CI
2120 branches :
2221 - ' master'
2322 schedule :
24- - cron : ' 25 */8 * * *'
23+ - cron : ' 8 */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 :
49- php-version : ${{ matrix.php-version }}
50- coverage : xdebug
49+ php-version : ' ${{ matrix.php-version }}'
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,15 @@ 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
69+ continue-on-error : true
6670 with :
6771 name : PHPUnit - ${{ matrix.php-version }} - ${{ matrix.coverage }}
6872 path : build/
@@ -73,17 +77,18 @@ jobs:
7377 runs-on : ubuntu-latest
7478 strategy :
7579 matrix :
76- php-version : [ 7.4, 8.0 , 8.1 ]
80+ php-version : [ 8.1 , 8.2 ]
7781 steps :
7882 - name : Checkout code
79- uses : actions/checkout@v2
83+ uses : actions/checkout@v3
8084 with :
8185 fetch-depth : 0
8286
8387 - name : Setup PHP
8488 uses : shivammathur/setup-php@v2
8589 with :
8690 php-version : ${{ matrix.php-version }}
91+ coverage : none
8792 tools : composer
8893 extensions : ast
8994
9499 run : make codestyle --no-print-directory
95100
96101 - name : Upload Artifacts
97- uses : actions/upload-artifact@v2
102+ uses : actions/upload-artifact@v3
103+ continue-on-error : true
98104 with :
99105 name : Linters - ${{ matrix.php-version }}
100106 path : build/
@@ -105,10 +111,10 @@ jobs:
105111 runs-on : ubuntu-latest
106112 strategy :
107113 matrix :
108- php-version : [ 7.4, 8.0 , 8.1 ]
114+ php-version : [ 8.1 , 8.2 ]
109115 steps :
110116 - name : Checkout code
111- uses : actions/checkout@v2
117+ uses : actions/checkout@v3
112118 with :
113119 fetch-depth : 0
114120
@@ -118,6 +124,7 @@ jobs:
118124 php-version : ${{ matrix.php-version }}
119125 coverage : xdebug
120126 tools : composer
127+ extensions : ast
121128
122129 - name : Build the Project
123130 run : make update --no-print-directory
@@ -126,7 +133,8 @@ jobs:
126133 run : make report-all --no-print-directory
127134
128135 - name : Upload Artifacts
129- uses : actions/upload-artifact@v2
136+ uses : actions/upload-artifact@v3
137+ continue-on-error : true
130138 with :
131139 name : Reports - ${{ matrix.php-version }}
132140 path : build/
0 commit comments