Skip to content

Commit

Permalink
Update GitHub Actions for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Nov 29, 2024
1 parent 3215651 commit 27a4d44
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/php-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.operating-system }}


name: P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}
name: Test P${{ matrix.php-versions }} - L${{ matrix.laravel }} - ${{ matrix.dependency-stability }} - ${{ matrix.operating-system}}

steps:
- uses: actions/checkout@v4
Expand All @@ -44,6 +44,27 @@ jobs:
SESSION_DRIVER: array
run: composer test


laravel-check:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: [ '8.3' ]

runs-on: ${{ matrix.operating-system }}


name: Check P${{ matrix.php-versions }} - ${{ matrix.operating-system}}

steps:
- uses: actions/checkout@v4
- name: Install PHP versions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Execute Code Sniffer via phpcs
run: |
composer style-fix
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "^8.0|^8.1|^8.2|^8.3",
"php": "^8.0|^8.1|^8.2|^8.3|^8.4",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.8",
"nunomaduro/termwind": "^1.15|^2.0"
Expand Down

0 comments on commit 27a4d44

Please sign in to comment.