Skip to content

Commit eb83094

Browse files
committed
Updating workflows for new PHP versions.
1 parent 70d4b60 commit eb83094

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

.github/workflows/ci.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,55 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
php: ['8.2', '8.3']
11+
php: ["8.3", "8.4", "8.5"]
1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Setup PHP with pecl and extensions
15-
uses: shivammathur/setup-php@v2
16-
with:
17-
php-version: ${{ matrix.php }}
18-
tools: pecl,composer:v2
19-
coverage: xdebug
20-
extensions: yaml,tokenizer,ldap,pdo,pdo_sqlite,zip,json,mbstring,iconv,zmq
21-
ini-values: memory_limit=1G,opcache.enable_cli=0
22-
- run: php --version
23-
24-
# install
25-
- run: composer install --no-interaction --prefer-dist
26-
27-
# script
28-
- run: php ./vendor/nette/tester/src/tester.php -j 4 -C tests --coverage ./coverage.xml --coverage-src ./app
29-
- uses: codecov/codecov-action@v1
30-
13+
- uses: actions/checkout@v2
14+
- name: Setup PHP with pecl and extensions
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: ${{ matrix.php }}
18+
tools: pecl,composer:v2
19+
coverage: xdebug
20+
extensions: yaml,tokenizer,ldap,pdo,pdo_sqlite,zip,json,mbstring,iconv,zmq
21+
ini-values: memory_limit=1G,opcache.enable_cli=0
22+
- run: php --version
23+
24+
# install
25+
- run: composer install --no-interaction --prefer-dist
26+
27+
# script
28+
- run: php ./vendor/nette/tester/src/tester.php -j 4 -C tests --coverage ./coverage.xml --coverage-src ./app
29+
- uses: codecov/codecov-action@v1
30+
3131
phpstan:
3232
runs-on: ubuntu-24.04
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
php: ['8.2', '8.3']
36+
php: ["8.3", "8.4", "8.5"]
3737
steps:
38-
- uses: actions/checkout@v2
39-
- name: Setup PHP with pecl and extensions
40-
uses: shivammathur/setup-php@v2
41-
with:
42-
php-version: ${{ matrix.php }}
43-
tools: pecl,composer:v2
44-
extensions: yaml,tokenizer,ldap,pdo,pdo_sqlite,zip,json,mbstring,iconv,zmq
45-
ini-values: memory_limit=1G,opcache.enable_cli=0
46-
- run: php --version
47-
48-
# install
49-
- run: composer install --no-interaction --prefer-dist
50-
51-
# script
52-
- run: vendor/bin/phpstan analyse -c phpstan/phpstan.neon app
38+
- uses: actions/checkout@v2
39+
- name: Setup PHP with pecl and extensions
40+
uses: shivammathur/setup-php@v2
41+
with:
42+
php-version: ${{ matrix.php }}
43+
tools: pecl,composer:v2
44+
extensions: yaml,tokenizer,ldap,pdo,pdo_sqlite,zip,json,mbstring,iconv,zmq
45+
ini-values: memory_limit=1G,opcache.enable_cli=0
46+
- run: php --version
47+
48+
# install
49+
- run: composer install --no-interaction --prefer-dist
50+
51+
# script
52+
- run: vendor/bin/phpstan analyse -c phpstan/phpstan.neon app
5353

5454
phpstan-tests:
5555
runs-on: ubuntu-24.04
5656
strategy:
5757
fail-fast: false
5858
matrix:
59-
php: ['8.2', '8.3']
59+
php: ["8.3", "8.4", "8.5"]
6060
steps:
6161
- uses: actions/checkout@v2
6262
- name: Setup PHP with pecl and extensions

0 commit comments

Comments
 (0)