Skip to content

Commit

Permalink
Check syntax with PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Nov 16, 2024
1 parent cecba26 commit 3db6949
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ on:

jobs:
check-syntax:
name: PHP
name: PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
# This list should include at least the value of Concrete\Core\Install\Preconditions\PhpVersion::MINIMUM_PHP_VERSION
- "7.3"
- "8.4"
steps:
-
name: Checkout
Expand All @@ -16,14 +22,13 @@ jobs:
name: Install PHP
uses: shivammathur/setup-php@v2
with:
# This should be the value of Concrete\Core\Install\Preconditions\PhpVersion::MINIMUM_PHP_VERSION
php-version: 7.3
php-version: ${{ matrix.php-version }}
extensions: opcache
coverage: none
tools: none
-
name: Check syntax
uses: mlocati/check-php-syntax@main
uses: mlocati/check-php-syntax@v1
with:
directory: concrete
include: |
Expand Down

0 comments on commit 3db6949

Please sign in to comment.