Skip to content

Commit a6501e1

Browse files
authored
Merge pull request #720 from chimeraphp/update-renovate-config
Update renovate config
2 parents 3228724 + cd173fc commit a6501e1

File tree

7 files changed

+645
-581
lines changed

7 files changed

+645
-581
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/README.md export-ignore
77
/Makefile export-ignore
88
/composer.lock export-ignore
9+
/renovate.json export-ignore

.github/workflows/backwards-compatibility.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,29 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- name: "BC Check"
19-
uses: docker://nyholm/roave-bc-check-ga
18+
- name: "Install PHP"
19+
uses: "shivammathur/[email protected]"
20+
with:
21+
php-version: "8.1"
22+
ini-values: memory_limit=-1
23+
tools: composer:v2, cs2pr
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
27+
- name: Get composer cache directory
28+
id: composer-cache
29+
run: echo "composer_cache_dir=$(composer global config cache-files-dir)" >> $GITHUB_OUTPUT
30+
31+
- name: "Cache dependencies"
32+
uses: "actions/[email protected]"
2033
with:
21-
args: --from=${{ github.event.pull_request.base.sha }}
34+
path: ${{ steps.composer-cache.outputs.composer_cache_dir }}
35+
key: "php-8.1-bc-break-check-${{ hashFiles('.github/workflows/backwards-compatibility.yml') }}"
36+
restore-keys: "php-8.1-bc-break-check-"
37+
38+
- name: "Install dependencies"
39+
run: composer global require roave/backward-compatibility-check
40+
41+
- name: "BC Check"
42+
run: |
43+
~/.composer/vendor/bin/roave-backward-compatibility-check --from=${{ github.event.pull_request.base.sha }} --format=github-actions

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ phpcs:
2828

2929
.PHONY: phpstan
3030
phpstan:
31-
@vendor/bin/phpstan analyse
31+
@XDEBUG_MODE=off vendor/bin/phpstan analyse

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.1",
13+
"php": "~8.1.0 || ~8.2.0",
1414
"chimera/bus-implementation": "^1.0",
1515
"chimera/foundation": "^1.0.x-dev",
1616
"chimera/routing": "^1.0.x-dev",
@@ -19,7 +19,7 @@
1919
},
2020
"require-dev": {
2121
"chimera/bus-tactician": "^1.0.x-dev",
22-
"chimera/mapping": "^0.5.x-dev",
22+
"chimera/mapping": "^1.0.x-dev",
2323
"chimera/routing-mezzio": "^1.0.x-dev",
2424
"chimera/serialization-jms": "^1.0.x-dev",
2525
"infection/infection": "^0.26",

0 commit comments

Comments
 (0)