Skip to content

Commit 1a5177e

Browse files
committed
Change PHP GitHub Action (GHA) for PHPUnit to use Nextcloud versions (instead of PHP versions).
1 parent 1758eed commit 1a5177e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/php.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,16 @@ jobs:
7373
strategy:
7474
fail-fast: false
7575
matrix:
76-
php:
77-
- '8.0' # from 2020-11 to 2022-11 (2023-11)
78-
- '8.1' # from 2021-11 to 2023-11 (2025-12)
79-
- '8.2' # from 2022-12 to 2024-12 (2026-12)
80-
- '8.3' # from 2023-11 to 2025-12 (2027-12)
76+
nextcloud_version:
77+
- 28
78+
- 29
79+
- 30
8180
steps:
8281
- uses: actions/checkout@v4
8382
- uses: shivammathur/setup-php@v2
8483
with:
85-
coverage: xdebug
8684
ini-values: error_reporting=E_ALL, display_errors=On
87-
php-version: ${{ matrix.php }}
85+
php-version: 8.3
8886
- name: Install and Cache Composer dependencies
8987
uses: "ramsey/composer-install@v2"
9088
with:
@@ -97,7 +95,7 @@ jobs:
9795
--rm \
9896
--volume="./solid:/var/www/html/apps/solid" \
9997
--workdir=/var/www/html/apps/solid \
100-
ghcr.io/pdsinterop/solid-nextcloud:179_merge-30 \
98+
ghcr.io/pdsinterop/solid-nextcloud:179_merge-${{ matrix.nextcloud_version }} \
10199
bin/phpunit --configuration phpunit.xml
102100
103101
# 03.quality.php.scan.dependencies-vulnerabilities.yml

0 commit comments

Comments
 (0)