diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 2ebbb74..9127600 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -1,15 +1,13 @@ on: - pull_request: - push: + - pull_request + - push name: backwards compatibility jobs: - roave_bc_check: - name: Roave BC Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: fetch tags - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga + roave_bc_check: + uses: yiisoft/actions/.github/workflows/bc.yml@master + with: + os: >- + ['ubuntu-latest'] + php: >- + ['8.0'] diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml new file mode 100644 index 0000000..6cf3cef --- /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', '8.2'] diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cc74bb..bff0751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,16 @@ # Yii Memcached Change Log - ## 2.0.0 under development - Chg #40: Raise the minimum `psr/simple-cache` version to `^2.0|^3.0` and the minimum PHP version to `^8.0` (@dehbka) ## 1.0.2 April 13, 2021 -- Chg: Adjust config for yiisoft/factory changes (samdark) +- Chg: Adjust config for `yiisoft/factory` changes (@samdark) ## 1.0.1 March 23, 2021 -- Chg: Adjust config for new config plugin (samdark) +- Chg: Adjust config for new config plugin (@samdark) ## 1.0.0 February 02, 2021 diff --git a/composer.json b/composer.json index da5be01..6b37ba0 100644 --- a/composer.json +++ b/composer.json @@ -25,6 +25,7 @@ "psr/simple-cache": "^2.0|^3.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",