Skip to content

Commit

Permalink
Merge pull request #7 from claudiodekker/php-83
Browse files Browse the repository at this point in the history
Add PHP 8.3 Support
  • Loading branch information
claudiodekker authored Jan 31, 2024
2 parents d145440 + 5b88ff8 commit 23ae867
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: tests

on:
push:
pull_request:

jobs:
tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
php: [ 8.2, 8.3 ]

name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none

- name: Install dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --${{ matrix.stability }}

- name: Execute tests
run: vendor/bin/phpunit --verbose
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "~8.2.0",
"php": "~8.2.0|~8.3.0",
"illuminate/support": "^10.6",
"phar-io/version": "^3.2"
},
Expand Down

0 comments on commit 23ae867

Please sign in to comment.