Skip to content

Commit

Permalink
[Batch] Add composer-require-checker CI (#69)
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 Feb 11, 2023
1 parent 0c189a4 commit 50b2ba7
Show file tree
Hide file tree
Showing 3 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', '8.2']
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@
- Enh #81: Add support for `yiisoft/assets` version `^3.0` (@vjik)
- Bug #81: Fixed publish options in assets (@vjik)
- Chg #79: Raise version PHP 8.0, adopt last change `yiisoft/widget` (@terabytesoftw)
- Enh #62: Explicitly add transitive dependency `yiisoft/files` (@vjik)

## 1.0.0 April 01, 2022

Expand Down
2 changes: 2 additions & 0 deletions composer.json
Expand Up @@ -21,10 +21,12 @@
"php": "^8.0",
"yiisoft/arrays": "^2.0|^3.0",
"yiisoft/assets": "^2.0|^3.0",
"yiisoft/files": "^2.0",
"yiisoft/html": "^2.0|^3.0",
"yiisoft/widget": "^2.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.4",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
Expand Down

0 comments on commit 50b2ba7

Please sign in to comment.