Skip to content

Commit 8b1c51a

Browse files
committed
Update build
1 parent 80d8f62 commit 8b1c51a

1 file changed

Lines changed: 30 additions & 17 deletions

File tree

.github/workflows/build.yaml

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
1-
name: build
1+
name: "build"
22
on:
33
push: ~
4+
45
pull_request: ~
6+
57
workflow_dispatch: ~
8+
69
jobs:
710
checks:
8-
name: PHP ${{ matrix.php-versions }}
9-
runs-on: ${{ matrix.operating-system }}
11+
name: "PHP ${{ matrix.php-versions }}"
12+
13+
runs-on: "ubuntu-latest"
14+
1015
strategy:
1116
fail-fast: false
1217
matrix:
13-
operating-system: [ ubuntu-latest ]
14-
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
18+
php-versions:
19+
- "8.1"
20+
- "8.2"
21+
- "8.3"
22+
- "8.4"
23+
1524
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v4
18-
- name: Setup PHP, with composer and extensions
19-
uses: shivammathur/setup-php@v2
25+
- name: "Checkout"
26+
uses: "actions/checkout@v4"
27+
28+
- name: "Setup PHP, with composer and extensions"
29+
uses: "shivammathur/setup-php@v2"
2030
with:
21-
php-version: ${{ matrix.php-versions }}
22-
coverage: none
23-
- name: Install Composer dependencies
24-
run: composer update --no-progress --no-suggest --prefer-dist --no-interaction
25-
- name: Validate composer
26-
run: composer validate --strict
27-
- name: Check composer normalized
28-
run: composer normalize --dry-run
31+
php-version: "${{ matrix.php-versions }}"
32+
coverage: "none"
33+
34+
- name: "Install composer dependencies"
35+
uses: "ramsey/composer-install@v3"
36+
37+
- name: "Validate composer"
38+
run: "composer validate --strict"
39+
40+
- name: "Check composer normalized"
41+
run: "composer normalize --dry-run"

0 commit comments

Comments
 (0)