Skip to content

Commit 367356d

Browse files
authored
Merge pull request #105 from yiisoft/add-composer-require-checker
[Batch] Add composer-require-checker CI
2 parents 1803da3 + c379fd5 commit 367356d

3 files changed

Lines changed: 35 additions & 1 deletion

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']

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 2.0.1 under development
44

5-
- no changes in this release.
5+
- Enh: Add composer require checker into CI
66

77
## 2.0.0 June 29, 2022
88

composer.json

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

0 commit comments

Comments
 (0)