fix: gitactions (psr 1.1.2 / NC 26)

pull/307/head
Sebastien Marinier 2024-10-28 14:36:09 +01:00
parent 9fd051ac3b
commit 9f2d820d63
3 changed files with 12 additions and 8 deletions

View File

@ -14,12 +14,12 @@ jobs:
php-versions: ['8.0', '8.1', '8.2', '8.3']
nextcloud-versions: ['stable26', 'stable27', 'stable28', 'stable29', 'stable30']
exclude:
- - php-versions: '8.0'
- nextcloud-versions: 'stable30'
- - php-versions: '8.3'
- nextcloud-versions: 'stable26'
- - php-versions: '8.3'
- nextcloud-versions: 'stable27'
- php-versions: '8.0'
nextcloud-versions: 'stable30'
- php-versions: '8.3'
nextcloud-versions: 'stable26'
- php-versions: '8.3'
nextcloud-versions: 'stable27'
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
env:
CI: true

View File

@ -7,6 +7,10 @@ jobs:
strategy:
matrix:
ocp-version: [ "^30", "^29", '^28', '^27', '^26']
include:
- psrcontainer: "psr/container"
- psrcontainer: "psr/container:^1.1.2"
ocp-version: '^26'
name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout
@ -21,7 +25,7 @@ jobs:
- name: Install dependencies
run: composer i
- name: Install dependencies
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} symfony/service-contracts
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} ${{ matrix.psrcontainer }} symfony/service-contracts
- name: Run coding standards check
run: composer run psalm

View File

@ -18,7 +18,7 @@
"phpstan/phpstan": "^0.12.29",
"nextcloud/ocp": "^25.0 || ^26.0 || ^27.0",
"vimeo/psalm": "^5.0",
"psr/container": "^1.1.2"
"psr/container": "^2.0.2"
},
"config": {
"optimize-autoloader": true,