Skip to content

Commit f978ea8

Browse files
xepozzsamdarkvjik
authored
[Batch] Add composer-require-checker CI (#251)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent c6231fb commit f978ea8

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
pull_request:
3+
paths-ignore:
4+
- 'docs/**'
5+
- 'README.md'
6+
- 'CHANGELOG.md'
7+
- '.gitignore'
8+
- '.gitattributes'
9+
- 'infection.json.dist'
10+
- 'phpunit.xml.dist'
11+
- 'psalm.xml'
12+
13+
push:
14+
branches: ['master']
15+
paths-ignore:
16+
- 'docs/**'
17+
- 'README.md'
18+
- 'CHANGELOG.md'
19+
- '.gitignore'
20+
- '.gitattributes'
21+
- 'infection.json.dist'
22+
- 'phpunit.xml.dist'
23+
- 'psalm.xml'
24+
25+
name: Composer require checker
26+
27+
jobs:
28+
composer-require-checker:
29+
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
30+
with:
31+
os: >-
32+
['ubuntu-latest']
33+
php: >-
34+
['8.1', '8.2', '8.3']

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"codeception/module-asserts": "^3.0",
9393
"codeception/module-cli": "^2.0",
9494
"codeception/module-phpbrowser": "^3.0",
95+
"maglnet/composer-require-checker": "^4.5",
9596
"phpunit/phpunit": "^9.5",
9697
"rector/rector": "^1.0.0",
9798
"roave/infection-static-analysis-plugin": "^1.34",

0 commit comments

Comments
 (0)