Skip to content

Commit 703f31f

Browse files
xepozzvjik
andauthored
[Batch] Add composer-require-checker CI (#11)
* Add composer-require-checker [batch] * Add composer-require-checker dependency [batch] * Add changelog [batch] * fix --------- Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent b4620e1 commit 703f31f

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', '8.1', '8.2']

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"psr/simple-cache": "^2.0|^3.0"
3636
},
3737
"require-dev": {
38+
"maglnet/composer-require-checker": "^4.4",
3839
"phpunit/phpunit": "^9.5",
3940
"roave/infection-static-analysis-plugin": "^1.16",
4041
"spatie/phpunit-watcher": "^1.23",

0 commit comments

Comments
 (0)