File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414name: backwards compatibility
1515
16+ concurrency:
17+ group: ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress: true
19+
1620jobs:
1721 roave_bc_check:
1822 uses: yiisoft/actions/.github/workflows/bc.yml@master
Original file line number Diff line number Diff line change 1818
1919name : build
2020
21+ concurrency :
22+ group : ${{ github.workflow }}-${{ github.ref }}
23+ cancel-in-progress : true
24+
2125jobs :
2226 tests :
2327 name : PHP ${{ matrix.php }}-pgsql-${{ matrix.pgsql }}
6468
6569 steps :
6670 - name : Checkout.
67- uses : actions/checkout@v3
71+ uses : actions/checkout@v4
6872
6973 - name : Install PHP with extensions.
7074 uses : shivammathur/setup-php@v2
7377 extensions : ${{ env.EXTENSIONS }}
7478 ini-values : date.timezone='UTC'
7579 coverage : pcov
76- tools : composer:v2
7780
7881 - name : Update composer.
7982 run : composer self-update
@@ -90,14 +93,11 @@ jobs:
9093 FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
9194 WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
9295
93- - name : Install dependencies with composer.
94- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
95-
9696 - name : Run tests with phpunit with code coverage.
97- run : vendor/bin/phpunit --coverage-clover=coverage.xml --colors=always
97+ run : vendor/bin/phpunit --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations
9898
9999 - name : Upload coverage to Codecov.
100- uses : codecov/codecov-action@v3
100+ uses : codecov/codecov-action@v5
101101 with :
102102 token : ${{ secrets.CODECOV_TOKEN }}
103103 files : ./coverage.xml
Original file line number Diff line number Diff line change 1414
1515name : Composer require checker
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
1822 composer-require-checker :
1923 name : PHP ${{ matrix.php }}
@@ -36,14 +40,13 @@ jobs:
3640
3741 steps :
3842 - name : Checkout.
39- uses : actions/checkout@v3
43+ uses : actions/checkout@v4
4044
4145 - name : Install PHP with extensions.
4246 uses : shivammathur/setup-php@v2
4347 with :
4448 php-version : ${{ matrix.php }}
4549 coverage : none
46- tools : composer:v2
4750
4851 - name : Update composer.
4952 run : composer self-update
6063 FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
6164 WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
6265
63- - name : Install dependencies with composer.
64- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
65-
6666 - name : Check dependencies.
6767 run : vendor/bin/composer-require-checker
Original file line number Diff line number Diff line change 1414
1515name : mutation test
1616
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
1822 mutation :
1923 name : PHP ${{ matrix.php }}-${{ matrix.os }}
4549
4650 steps :
4751 - name : Checkout.
48- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
4953
5054 - name : Install PHP with extensions.
5155 uses : shivammathur/setup-php@v2
5458 extensions : ${{ env.EXTENSIONS }}
5559 ini-values : memory_limit=-1
5660 coverage : pcov
57- tools : composer:v2
5861
5962 - name : Update composer.
6063 run : composer self-update
7174 FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
7275 WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
7376
74- - name : Install dependencies with composer.
75- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
76-
7777 - name : Run infection.
7878 run : |
7979 vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --only-covered
Original file line number Diff line number Diff line change 88
99name: rector
1010
11+ concurrency:
12+ group: ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress: true
14+
1115jobs:
1216 rector:
1317 uses: yiisoft/actions/.github/workflows/rector.yml@master
Original file line number Diff line number Diff line change 1616
1717name : static analysis
1818
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.ref }}
21+ cancel-in-progress : true
22+
1923jobs :
2024 psalm :
2125 name : PHP ${{ matrix.php }}
@@ -38,14 +42,14 @@ jobs:
3842
3943 steps :
4044 - name : Checkout.
41- uses : actions/checkout@v3
45+ uses : actions/checkout@v4
4246
4347 - name : Install PHP with extensions.
4448 uses : shivammathur/setup-php@v2
4549 with :
4650 php-version : ${{ matrix.php }}
4751 coverage : none
48- tools : composer:v2, cs2pr
52+ tools : cs2pr
4953
5054 - name : Update composer.
5155 run : composer self-update
6266 FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
6367 WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
6468
65- - name : Install dependencies with composer.
66- run : composer update --no-interaction --no-progress --optimize-autoloader --ansi
67-
6869 - name : Static analysis.
6970 run : vendor/bin/psalm --config=${{ inputs.psalm-config }} --shepherd --stats --output-format=github --php-version=${{ matrix.php }}
You can’t perform that action at this time.
0 commit comments