Skip to content

Commit

Permalink
[Batch] Add composer-require-checker CI (#23)
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 Jun 16, 2023
1 parent 7cf8669 commit 1d75bae
Show file tree
Hide file tree
Showing 2 changed files with 34 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: >-
['7.4', '8.0', '8.1', '8.2']
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -32,6 +32,7 @@
"php": "^7.4|^8.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^3.8|^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.17.0",
"roave/infection-static-analysis-plugin": "^1.16",
Expand Down

0 comments on commit 1d75bae

Please sign in to comment.