4
4
- ' src/**'
5
5
- ' .github/workflows/composer-require-checker.yml'
6
6
- ' composer.json'
7
+ - ' composer-require-checker.json'
7
8
8
9
push :
9
10
branches : ['master']
10
11
paths :
11
12
- ' src/**'
12
13
- ' .github/workflows/composer-require-checker.yml'
13
14
- ' composer.json'
15
+ - ' composer-require-checker.json'
14
16
15
17
name : Composer require checker
16
18
@@ -20,48 +22,9 @@ concurrency:
20
22
21
23
jobs :
22
24
composer-require-checker :
23
- name : PHP ${{ matrix.php }}
24
-
25
- env :
26
- COMPOSER_ROOT_VERSION : 1.0.0
27
-
28
- runs-on : ${{ matrix.os }}
29
-
30
- strategy :
31
- matrix :
32
- os :
33
- - ubuntu-latest
34
-
35
- php :
36
- - 8.1
37
- - 8.2
38
- - 8.3
39
- - 8.4
40
-
41
- steps :
42
- - name : Checkout.
43
- uses : actions/checkout@v4
44
-
45
- - name : Install PHP with extensions.
46
- uses : shivammathur/setup-php@v2
47
- with :
48
- php-version : ${{ matrix.php }}
49
- coverage : none
50
-
51
- - name : Update composer.
52
- run : composer self-update
53
-
54
- - name : Set environment variables pull request linux.
55
- uses : yiisoft/actions/db/environment-linux@master
56
-
57
- - name : Install db.
58
- uses : yiisoft/actions/db/subpackage-install@master
59
- with :
60
- BRANCH_NAME : ${{ env.BRANCH_NAME }}
61
- COMPOSER_ROOT_VERSION : ${{ env.COMPOSER_ROOT_VERSION }}
62
- CURRENT_PACKAGE : db
63
- FULL_BRANCH_NAME : ${{ env.FULL_BRANCH_NAME }}
64
- WORK_PACKAGE_URL : ${{ env.WORK_PACKAGE_URL }}
65
-
66
- - name : Check dependencies.
67
- run : vendor/bin/composer-require-checker
25
+ uses : yiisoft/actions/.github/workflows/composer-require-checker.yml@master
26
+ with :
27
+ php : >-
28
+ ['8.1', '8.2', '8.3', '8.4']
29
+ required-packages : >-
30
+ ['db']
0 commit comments