From e00b7f7b2550f1e0a083d3deddedefadf63dca83 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Fri, 14 Oct 2022 13:01:59 +0300 Subject: [PATCH 1/6] 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 a1b166a65915313de5b26111e4757e2835c046ae Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Fri, 14 Oct 2022 13:30:54 +0300 Subject: [PATCH 2/6] Add composer-require-checker dependency [batch] --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index d6009a7..4d20946 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,7 @@ "php": "^7.4|^8.0" }, "require-dev": { + "maglnet/composer-require-checker": "^4.2", "phpunit/phpunit": "^9.5", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", From a006bc5493b66a42e6ba9d0314feea96c9fa10e2 Mon Sep 17 00:00:00 2001 From: Dmitrii Derepko Date: Sat, 15 Oct 2022 10:45:46 +0300 Subject: [PATCH 3/6] Add changelog [batch] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d019093..2904905 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.2 under development -- no changes in this release. +- Enh: Add composer require checker into CI ## 1.0.1 January 27, 2022 From 945c119b0920e6a94c175c993ae3ced9fae4b532 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 3 Aug 2024 08:26:56 +0300 Subject: [PATCH 4/6] fix --- .github/workflows/composer-require-checker.yml | 3 ++- CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index ae5893f..b4d1cf9 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -11,6 +11,7 @@ on: - 'psalm.xml' push: + branches: ['master'] paths-ignore: - 'docs/**' - 'README.md' @@ -30,4 +31,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0', '8.1'] + ['7.4', '8.0', '8.1', '8.2', '8.3'] diff --git a/CHANGELOG.md b/CHANGELOG.md index 2904905..d019093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.2 under development -- Enh: Add composer require checker into CI +- no changes in this release. ## 1.0.1 January 27, 2022 From ee4bb763f37b4af96010b00e9b349cc5b0fa1d0e Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 3 Aug 2024 08:28:16 +0300 Subject: [PATCH 5/6] fix --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d61824a..7514780 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "php": "^7.4|^8.0" }, "require-dev": { - "maglnet/composer-require-checker": "^4.2", + "maglnet/composer-require-checker": "^3.8|^4.2", "phpunit/phpunit": "^9.5", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", From 82c36a69739d0a9556e6fe393dfb966ee029484b Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sat, 3 Aug 2024 08:29:31 +0300 Subject: [PATCH 6/6] fix --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7514780..db50379 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "php": "^7.4|^8.0" }, "require-dev": { - "maglnet/composer-require-checker": "^3.8|^4.2", + "maglnet/composer-require-checker": "^3.8|^4.4", "phpunit/phpunit": "^9.5", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23",