From 04c88e67bef804203df934703bd422ea72f46b0e Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Thu, 18 Apr 2024 22:49:29 -0500 Subject: [PATCH] Update CI build --- .github/workflows/ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2ac84a..ea26d84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,21 @@ jobs: - operating-system: 'ubuntu-latest' php-version: '8.2' + - operating-system: 'ubuntu-latest' + php-version: '8.3' + + - operating-system: 'ubuntu-latest' + php-version: '8.4' + static-analysis: none + style-fix: none + composer-require-checker-version: none + - operating-system: 'windows-latest' - php-version: '8.1' + php-version: '8.3' job-description: 'on Windows' - operating-system: 'macos-latest' - php-version: '8.1' + php-version: '8.3' job-description: 'on macOS' name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }} @@ -72,12 +81,13 @@ jobs: - name: Run static analysis run: vendor/bin/psalm.phar + if: matrix.static-analysis != 'none' - name: Run style fixer env: PHP_CS_FIXER_IGNORE_ENV: 1 run: vendor/bin/php-cs-fixer --diff --dry-run -v fix - if: runner.os != 'Windows' + if: runner.os != 'Windows' && matrix.style-fix != 'none' - name: Install composer-require-checker run: php -r 'file_put_contents("composer-require-checker.phar", file_get_contents("https://github.com/maglnet/ComposerRequireChecker/releases/download/3.7.0/composer-require-checker.phar"));'