Skip to content

Commit c3a6ad4

Browse files
authored
Merge pull request #28 from Chris53897/feature/fix-ci
ci: add tests for PHP 8.5
2 parents a8040f9 + 97e637b commit c3a6ad4

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v6
1212

1313
- name: Fix style
1414
uses: docker://oskarstark/php-cs-fixer-ga

.github/workflows/run-tests.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,19 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [7.4, 8.0, 8.1, '8.2', '8.3', '8.4']
16-
dependency-version: [prefer-lowest, prefer-stable]
15+
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5]
16+
dependency-version: [prefer-stable]
1717

1818
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
1919

2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v2
23-
24-
- name: Cache dependencies
25-
uses: actions/cache@v2
26-
with:
27-
path: ~/.composer/cache/files
28-
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
22+
uses: actions/checkout@v6
2923

3024
- name: Setup PHP
3125
uses: shivammathur/setup-php@v2
3226
with:
3327
php-version: ${{ matrix.php }}
34-
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
3528
coverage: none
3629

3730
- name: Install dependencies

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"php": "^7.4|^8.0"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "^9.4"
24+
"phpunit/phpunit": "^9.6"
2525
},
2626
"autoload": {
2727
"files": [

0 commit comments

Comments
 (0)