Skip to content

Commit d0e47c7

Browse files
xepozzvjik
andauthored
Add composer-require-checker CI + Fix BC checker (#43)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent c771b43 commit d0e47c7

File tree

4 files changed

+45
-14
lines changed

4 files changed

+45
-14
lines changed

.github/workflows/bc.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
on:
2-
pull_request:
3-
push:
2+
- pull_request
3+
- push
44

55
name: backwards compatibility
66
jobs:
7-
roave_bc_check:
8-
name: Roave BC Check
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@master
12-
- name: fetch tags
13-
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14-
- name: Roave BC Check
15-
uses: docker://nyholm/roave-bc-check-ga
7+
roave_bc_check:
8+
uses: yiisoft/actions/.github/workflows/bc.yml@master
9+
with:
10+
os: >-
11+
['ubuntu-latest']
12+
php: >-
13+
['8.0']
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
on:
2+
pull_request:
3+
paths-ignore:
4+
- 'docs/**'
5+
- 'README.md'
6+
- 'CHANGELOG.md'
7+
- '.gitignore'
8+
- '.gitattributes'
9+
- 'infection.json.dist'
10+
- 'phpunit.xml.dist'
11+
- 'psalm.xml'
12+
13+
push:
14+
paths-ignore:
15+
- 'docs/**'
16+
- 'README.md'
17+
- 'CHANGELOG.md'
18+
- '.gitignore'
19+
- '.gitattributes'
20+
- 'infection.json.dist'
21+
- 'phpunit.xml.dist'
22+
- 'psalm.xml'
23+
24+
name: Composer require checker
25+
26+
jobs:
27+
composer-require-checker:
28+
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
29+
with:
30+
os: >-
31+
['ubuntu-latest']
32+
php: >-
33+
['8.0', '8.1', '8.2']

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
# Yii Memcached Change Log
22

3-
43
## 2.0.0 under development
54

65
- Chg #40: Raise the minimum `psr/simple-cache` version to `^2.0|^3.0` and the minimum PHP version to `^8.0` (@dehbka)
76

87
## 1.0.2 April 13, 2021
98

10-
- Chg: Adjust config for yiisoft/factory changes (samdark)
9+
- Chg: Adjust config for `yiisoft/factory` changes (@samdark)
1110

1211
## 1.0.1 March 23, 2021
1312

14-
- Chg: Adjust config for new config plugin (samdark)
13+
- Chg: Adjust config for new config plugin (@samdark)
1514

1615
## 1.0.0 February 02, 2021
1716

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"psr/simple-cache": "^2.0|^3.0"
2626
},
2727
"require-dev": {
28+
"maglnet/composer-require-checker": "^4.4",
2829
"phpunit/phpunit": "^9.5",
2930
"roave/infection-static-analysis-plugin": "^1.16",
3031
"spatie/phpunit-watcher": "^1.23",

0 commit comments

Comments
 (0)