Skip to content

Commit

Permalink
add php 8.4 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Nov 29, 2024
1 parent 6348874 commit 39b6612
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci-8.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI-8.4

on: [push]

env:
ACTION_PHP_VERSION: 8.4
ACTION_PHP_EXTENSIONS: zip

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- name: Composer install
uses: php-actions/composer@v6
with:
php_version: 8.4
php_extensions: zip gd

- name: PHPUnit
uses: php-actions/phpunit@v4
with:
bootstrap: vendor/autoload.php
php_version: 8.4
configuration: phpunit.xml.dist
php_extensions: zip gd
test_suffix: Test.php

- name: PHPStan
uses: php-actions/phpstan@v3
with:
php_version: 8.4
path: src/

- name: PHP Code Sniffer
uses: php-actions/phpcs@v1
with:
php_version: 8.4
path: src/
standard: phpcs.xml.dist

0 comments on commit 39b6612

Please sign in to comment.