Skip to content

Commit 15213b0

Browse files
committed
test with php 8.2
1 parent ad9331e commit 15213b0

File tree

11 files changed

+34
-6621
lines changed

11 files changed

+34
-6621
lines changed

.docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.1
1+
FROM php:8.2
22

33
COPY dev.sh /tmp/library-scripts/
44

.docker/dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ if [ "${PACKAGES_ALREADY_INSTALLED}" != "true" ]; then
6363
libkrb5-3 \
6464
libgssapi-krb5-2 \
6565
libicu[0-9][0-9] \
66-
liblttng-ust0 \
66+
liblttng-ust[0-9] \
6767
libstdc++6 \
6868
zlib1g \
6969
locales \

.github/workflows/documentation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
php-versions: ['8.1']
19+
php-versions: ['8.1', '8.2']
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -36,9 +36,9 @@ jobs:
3636
uses: actions/cache@v3
3737
with:
3838
path: tools/apigen/vendor
39-
key: ${{ runner.os }}-php-${{ hashFiles('tools/apigen/composer.lock') }}
39+
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('tools/apigen/composer.lock') }}
4040
restore-keys: |
41-
${{ runner.os }}-php-
41+
${{ runner.os }}-php-${{ matrix.php-versions }}-
4242
4343
- name: Install dependencies
4444
run: composer install --prefer-dist --no-progress

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
php-versions: ['8.1']
19+
php-versions: ['8.1', '8.2']
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -27,17 +27,17 @@ jobs:
2727
php-version: ${{ matrix.php-versions }}
2828
ini-values: zend.assertions=1, assert.exception=1
2929

30-
- name: Validate composer.json and composer.lock
30+
- name: Validate composer.json
3131
run: composer validate --strict
3232

3333
- name: Cache Composer packages
3434
id: composer-cache
3535
uses: actions/cache@v3
3636
with:
3737
path: vendor
38-
key: ${{ runner.os }}-php-${{ hashFiles('composer.lock') }}
38+
key: ${{ runner.os }}-php-${{ matrix.php-versions }}-${{ hashFiles('composer.json') }}
3939
restore-keys: |
40-
${{ runner.os }}-php-
40+
${{ runner.os }}-php-${{ matrix.php-versions }}
4141
4242
- name: Install dependencies
4343
run: composer install --prefer-dist --no-progress

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor/
2+
/composer.lock
23
/phpstan.neon
34
/.phpunit.result.cache
45
/docs/

0 commit comments

Comments
 (0)