Skip to content

Commit 21485ea

Browse files
xepozzvjik
andauthored
[Batch] Add composer-require-checker CI (#41)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent c956b87 commit 21485ea

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
paths-ignore:
15+
- 'docs/**'
16+
- 'README.md'
17+
- 'CHANGELOG.md'
18+
- '.gitignore'
19+
- '.gitattributes'
20+
- 'infection.json.dist'
21+
- 'phpunit.xml.dist'
22+
- 'psalm.xml'
23+
24+
name: Composer require checker
25+
26+
jobs:
27+
composer-require-checker:
28+
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
29+
with:
30+
os: >-
31+
['ubuntu-latest']
32+
php: >-
33+
['8.0']

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"yiisoft/translator": "^1.0"
2424
},
2525
"require-dev": {
26+
"maglnet/composer-require-checker": "^4.2",
2627
"phpunit/phpunit": "^9.5",
2728
"rector/rector": "^0.14.3",
2829
"roave/infection-static-analysis-plugin": "^1.16",

0 commit comments

Comments
 (0)