Skip to content

Commit

Permalink
Merge pull request #35 from yiisoft/add-composer-require-checker
Browse files Browse the repository at this point in the history
[Batch] Add composer-require-checker CI
  • Loading branch information
xepozz committed Oct 28, 2022
2 parents b8ef036 + e84c6bf commit d94211b
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/composer-require-checker.yml
@@ -0,0 +1,33 @@
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

push:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'

name: Composer require checker

jobs:
composer-require-checker:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.0', '8.1']
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@

## 1.1.2 under development

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

## 1.1.1 September 04, 2022

Expand Down
8 changes: 7 additions & 1 deletion composer.json
Expand Up @@ -28,7 +28,12 @@
],
"require": {
"php": "^8.0",
"spiral/roadrunner": "^2.7",
"psr/container": "^2.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"spiral/roadrunner": "^2.11",
"spiral/roadrunner-http": "^2.1",
"spiral/roadrunner-worker": "^2.3",
"yiisoft/config": "^1.1",
"yiisoft/definitions": "^1.0|^2.0",
"yiisoft/di": "^1.0",
Expand All @@ -41,6 +46,7 @@
},
"require-dev": {
"httpsoft/http-message": "^1.0",
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.3",
"roave/infection-static-analysis-plugin": "^1.16",
Expand Down

0 comments on commit d94211b

Please sign in to comment.