From 6f542147ba3567d80c8c4968d711caf3e50f0653 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Fri, 14 Oct 2022 13:01:57 +0300 Subject: [PATCH 1/3] Add composer-require-checker [batch] --- .../workflows/composer-require-checker.yml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/composer-require-checker.yml diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml new file mode 100644 index 0000000..ae5893f --- /dev/null +++ b/.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'] From 97629a86871d8e8065bd5f71b83fd471e5f79a81 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Fri, 14 Oct 2022 13:30:52 +0300 Subject: [PATCH 2/3] Add composer-require-checker dependency [batch] --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 333d44e..09f3e34 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,7 @@ }, "require-dev": { "httpsoft/http-message": "^1.0", + "maglnet/composer-require-checker": "^4.2", "phpunit/phpunit": "^9.5", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", From 97e572d2a798754047fecc36b6871bb81f5890d9 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Sat, 15 Oct 2022 10:45:44 +0300 Subject: [PATCH 3/3] Add changelog [batch] --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69be571..a1c8d98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.0.2 under development +- Enh: Add composer require checker into CI - Chg #62: Update `yiisoft/http` dependency (devanych) ## 1.0.1 August 30, 2021