Skip to content

Commit

Permalink
build: add support for php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vaened committed Aug 6, 2024
1 parent 33f3383 commit a251668
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php: ['8.1', '8.2']
php: ['8.2', '8.3']
laravel: ['10', '11']

steps:
Expand All @@ -29,7 +29,6 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Select Laravel ${{ matrix.laravel }}
if: matrix.laravel == '10' || (matrix.laravel == '11' && matrix.php == '8.2')
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
Expand All @@ -43,10 +42,5 @@ jobs:
max_attempts: 5
command: composer update --no-interaction --no-progress --ignore-platform-req=php

- name: Run tests for Laravel 10
if: matrix.laravel == '10'
- name: Run tests for Laravel ${{ matrix.laravel }}
run: vendor/bin/phpunit

- name: Run tests for Laravel 11
if: matrix.laravel == '11' && matrix.php == '8.2'
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1-cli
FROM php:8.2.1-cli

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^8.1|^8.2",
"php": "^8.2",
"laravel/framework": "^10|^11",
"vaened/support": "^4.0"
},
Expand Down

0 comments on commit a251668

Please sign in to comment.