Skip to content

Commit

Permalink
[Batch] Add composer-require-checker CI (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Nov 12, 2022
1 parent 164ef9e commit 297d76d
Show file tree
Hide file tree
Showing 3 changed files with 35 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']
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

## 2.0.0 under development

- Enh #106: Add composer require checker into CI (@xepozz)
- Enh #105: Raise the minimum PHP version to 8.0 (@xepozz, @rustamwin)
- Bug #107: Keep query string when generating from current route (@rustamwin)
- Enh #108: Add `$queryParameters` parameter to `UrlGenerator::generateFromCurrent()` method (@rustamwin)
Expand Down
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -25,6 +25,7 @@
"yiisoft/http": "^1.2"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"nyholm/psr7": "^1.4",
"phpunit/phpunit": "^9.5",
"psr/container": "^2.0",
Expand Down

0 comments on commit 297d76d

Please sign in to comment.