Skip to content

Commit

Permalink
[Batch] Add composer-require-checker CI (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
xepozz and vjik committed Dec 29, 2022
1 parent d44fd73 commit 808d354
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 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']
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -30,10 +30,13 @@
],
"require": {
"php": "^8.0",
"psr/event-dispatcher": "^1.0",
"symfony/mailer": "^5.3|^6.0",
"symfony/mime": "^5.4|^6.2",
"yiisoft/mailer": "^4.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.25",
"rector/rector": "^0.15.2",
Expand Down

0 comments on commit 808d354

Please sign in to comment.