Skip to content

Commit

Permalink
Try to use php 8.3 on action
Browse files Browse the repository at this point in the history
  • Loading branch information
j3j5 committed Apr 17, 2024
1 parent fd53419 commit 2607fcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none

- name: Validate composer.json and composer.lock
run: composer validate --strict

Expand All @@ -36,6 +42,12 @@ jobs:
id: PHPStan
run: composer run-script phpstan

- name: Setup PHP with Xdebug
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: xdebug

- name: Run test suite
id: PHPUnit
run: composer run-script phpunit-cov -- --coverage-clover=coverage.xml
Expand Down

0 comments on commit 2607fcb

Please sign in to comment.