Skip to content

Commit b0accc4

Browse files
committed
Ci: fix permissions
1 parent bcd87fb commit b0accc4

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
prefer-lowest: ['']
1919
include:
2020
- php-version: '8.2'
21-
db-type: 'sqlite'
2221
prefer-lowest: 'prefer-lowest'
2322

2423
container:
2524
image: thecodingmachine/php:${{ matrix.php-version }}-v5-cli
25+
options: --user root
26+
2627
steps:
2728
- name: Checkout code
2829
uses: actions/checkout@v4
@@ -49,6 +50,8 @@ jobs:
4950
if: github.event_name == 'push' || github.event_name == 'pull_request'
5051
container:
5152
image: thecodingmachine/php:8.4-v5-cli
53+
options: --user root
54+
5255
steps:
5356
- name: Checkout code
5457
uses: actions/checkout@v4

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
],
1212
"require": {
1313
"php": ">=8.2",
14-
"cakephp/cakephp": "^5.1",
14+
"cakephp/cakephp": "^5.0",
1515
"symfony/uid": "^7.3"
1616
},
1717
"require-dev": {
18-
"cakephp/plugin-installer": "^2",
19-
"phpunit/phpunit": "^10.5 || ^11.1 || ^12.0",
18+
"php": ">=8.3",
19+
"cakephp/plugin-installer": "^2.0.1",
20+
"phpunit/phpunit": "^12.0",
2021
"phpstan/phpstan": "^2.1",
2122
"cakephp/cakephp-codesniffer": "^5.2"
2223
},

0 commit comments

Comments
 (0)