Skip to content

Commit 07152e2

Browse files
authored
Test on all supported PHP versions
1 parent 9755994 commit 07152e2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
php-versions: ['7.2', '7.3', '7.4', '8.0']
1317

1418
steps:
1519
- uses: actions/checkout@v2
20+
21+
- name: Setup PHP
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php-versions }}
1625

1726
- name: Validate composer.json and composer.lock
1827
run: composer validate

0 commit comments

Comments
 (0)