Skip to content

Commit 6045d9d

Browse files
xepozzvjik
andauthored
Add composer-require-checker CI (#43)
Co-authored-by: Sergei Predvoditelev <[email protected]>
1 parent f5c94ca commit 6045d9d

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
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+
['7.4', '8.0', '8.1', '8.2', '8.3']

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"php": "^7.4|^8.0"
3333
},
3434
"require-dev": {
35+
"maglnet/composer-require-checker": "^3.8|^4.4",
3536
"phpunit/phpunit": "^9.5",
3637
"roave/infection-static-analysis-plugin": "^1.16",
3738
"spatie/phpunit-watcher": "^1.23",

0 commit comments

Comments
 (0)