Skip to content

Commit 62811ec

Browse files
committed
Update CI
1 parent 6d12a3e commit 62811ec

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/php.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,25 @@ on:
99
jobs:
1010
build:
1111

12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- name: Setup PHP
16+
uses: shivammathur/setup-php@v2
17+
with:
18+
php-version: '8.3'
19+
extensions: mbstring, dom, curl
1620

17-
- name: Validate composer.json and composer.lock
18-
run: composer validate
21+
- uses: actions/checkout@v3
1922

20-
- name: Install dependencies
21-
run: composer install --prefer-dist --no-progress
23+
- name: Validate composer.json and composer.lock
24+
run: composer validate
2225

23-
- name: Run test suite
24-
run: composer test
26+
- name: Install dependencies
27+
run: composer install --prefer-dist --no-progress
2528

26-
- name: Run php-cs-fixer
27-
run: composer csfix .
29+
- name: Check code style
30+
run: composer test:lint
31+
32+
- name: Run test suite
33+
run: composer test:unit

0 commit comments

Comments
 (0)