Skip to content

Commit 5bd74a0

Browse files
committed
Update CI config
1 parent f850231 commit 5bd74a0

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,21 @@ jobs:
1515
- operating-system: 'ubuntu-latest'
1616
php-version: '8.2'
1717

18+
- operating-system: 'ubuntu-latest'
19+
php-version: '8.3'
20+
21+
- operating-system: 'ubuntu-latest'
22+
php-version: '8.4'
23+
static-analysis: none
24+
style-fix: none
25+
composer-require-checker-version: none
26+
1827
- operating-system: 'windows-latest'
19-
php-version: '8.1'
28+
php-version: '8.3'
2029
job-description: 'on Windows'
2130

2231
- operating-system: 'macos-latest'
23-
php-version: '8.1'
32+
php-version: '8.3'
2433
job-description: 'on macOS'
2534

2635
name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
@@ -72,12 +81,13 @@ jobs:
7281

7382
- name: Run static analysis
7483
run: vendor/bin/psalm.phar
84+
if: matrix.static-analysis != 'none'
7585

7686
- name: Run style fixer
7787
env:
7888
PHP_CS_FIXER_IGNORE_ENV: 1
7989
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
80-
if: runner.os != 'Windows'
90+
if: runner.os != 'Windows' && matrix.style-fix != 'none'
8191

8292
- name: Install composer-require-checker
8393
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"));'

0 commit comments

Comments
 (0)